Searched refs:with_pattern (Results 1 – 9 of 9) sorted by relevance
17 from parse import with_pattern21 @with_pattern(r'[0-9a-f]{8,}')25 @with_pattern(r'[0-9a-f]{2,5}')29 @with_pattern(r'[0-9]+')33 @with_pattern(r'[^\n^\0]*')37 @with_pattern(r'[r-]')41 @with_pattern(r'[w-]')45 @with_pattern(r'[x-]')49 @with_pattern(r'[sp]')
19 from parse import with_pattern23 @with_pattern(r'[^ ^\t^\n^:^\0]+')27 @with_pattern(r'[ ]*[0-9]+')31 @with_pattern(r'[ ]*(kB)?')
21 from parse import with_pattern216 @with_pattern(
48 @parse.with_pattern(r"\d+")59 @parse.with_pattern(choice_pattern)70 @parse.with_pattern(choice_pattern)79 @parse.with_pattern(r"\d+")103 @parse.with_pattern(r"Alice|Bob|Charly")
775 @parse.with_pattern(r'((\w+))', regex_group_count=2)779 @parse.with_pattern(r'\d+')864 @parse.with_pattern(r'[ab]')877 @parse.with_pattern(r'(meter|kilometer)', regex_group_count=1)881 @parse.with_pattern(r'\d+')904 @parse.with_pattern(r'(meter|kilometer)', regex_group_count=1)908 @parse.with_pattern(r'\d+')928 @parse.with_pattern(r'[ab]')
164 if test "$with_pattern" = "no"; then167 with_pattern=yes174 if test "$with_pattern" = "no"; then177 with_pattern=yes236 test "$with_pattern" = "" && with_pattern=no262 if test "$with_pattern" = "no"; then473 if test "$with_pattern" = "no" ; then
159 if test "$with_pattern" = "no"; then162 with_pattern=yes169 if test "$with_pattern" = "no"; then172 with_pattern=yes238 test "$with_pattern" = "" && with_pattern=no265 if test "$with_pattern" = "no"; then573 if test "$with_pattern" = "no" ; then
79 @parse.with_pattern(r"\d+")221 from parse import Parser, with_pattern230 @with_pattern(r"\d+")
448 def with_pattern(pattern, regex_group_count=None): function