Last active
December 19, 2015 01:29
-
-
Save othercat/5876624 to your computer and use it in GitHub Desktop.
匹配"20130620_中文_suc.txt"引号内的内容,月日会变化,但是正则表达式里不能包括中文和星号。 for @kDolphin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^([2-9]\d{3}((0[1-9]|1[012])(0[1-9]|1\d|2[0-8])|(0[13456789]|1[012])(29|30)|(0[13578]|1[02])31)|(([2-9]\d)(0[48]|[2468][048]|[13579][26])|(([2468][048]|[3579][26])00))0229)_[\u4e00-\u9fa5]+_[a-zA-Z0-9_]+.txt$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment