Regular Expressions 101

Community Patterns

0

sort3

Python
no description available
Submitted by anonymous - 7 years ago
0

()

Python
no description available
Submitted by anonymous - 7 years ago
1

Siebel Id

Golang
no description available
Submitted by anonymous - 7 years ago
0

textdom处理

Python
no description available
Submitted by anonymous - 7 years ago

Todo.txt line pattern (Custom)

1

Regular Expression
Python

r"
^(?:\((?P<imp>[A-Z])\)\ )?(?P<dued>(?:2[0-1][0-9]{2}\-(?:0[0-9]|1[0-2])\-(?:[0-2][0-9]|3[0-1]))|\?)\ (?:\+(?P<proname>[a-zA-Z0-9]+)(?:\#(?P<pronum>[0-9]+))?\ )?(?:\$(?P<startd>2[0-1][0-9]{2}\-(?:0[0-9]|1[0-2])\-(?:[0-2][0-9]|3[0-1]))(?:\^(?P<repeat>\d*(?:D|W|M|Y)(?:\,\d*(?:D|W|M|Y)+)*))?\ )?(?P<todo>.+?(?=(?:\ (?:\@|\&))|$))(?P<contexts>(?:\ \@\S+)*)(?P<tags>(?:\ \&\S+)*)
"
gm

Description

Loading markdown...
Submitted by Francesco Tosello - 7 years ago