Regular Expressions 101

Community Patterns

1

Match paths

PCRE2 (PHP >=7.3)
Match paths
Submitted by os_niko - 6 days ago
1

SUT - Package Matching

PCRE2 (PHP >=7.3)
test
Submitted by MHE - 14 days ago

Basic grammar for regex matching of simplistic Makefiles

-2

Regular Expression
Python

r"
(?P<assign_op>(\:|\!|\?)?=)|(?P<token_subst>$|%(\<\@))|(?P<token_ident>[\w\d\.\,]+)|(?P<target_name_match>%\.?)|(?P<token_rule_sep>[:])|(?P<incr_op>\n)|(?P<line_end>\n)|(?P<comment_op>#[.*]+$)|(?P<adjust_parser>[\$%\s\t\:])
"
gm

Description

Loading markdown...
Submitted by Robert Butler <me@r-butler.net> - 9 years ago