Understanding Groups in Regular Expressions: (/d{4})-(/d{2}-(/d/d))
There are 3 groups in the regular expression (//d{4})-(//d{2}-(//d//d)). Group 1 is (//d{4}), group 2 is (//d{2}-(//d//d)), and group 3 is just (//d//d) within group 2.
原文地址: https://www.cveoy.top/t/topic/odT4 著作权归作者所有。请勿转载和采集!