Regular Expressions 101

Sponsors

Library entries

1
pcre2

Instagram reel Id

get instagram reels id
Submitted by anonymous - a year ago
1
pcre2

email-tec

mesa
Submitted by anonymous - a year ago
1
python

entrance_fee (test apostrophe)

bla
Submitted by guib - a year ago
1
python

email google/microsoft like

email google/microsoft like
Submitted by Maxime Paris - a year ago
1
pcre2

2

2
Submitted by anonymous - a year ago
1
pcre2

Gitlab - Branch name

Branch name for Gitlab's Push Rules
Submitted by anonymous - a year ago
1
pcre2

Gitlab - Commit message

Commit message for Gitlab's Push Rules
Submitted by anonymous - a year ago

Look Forward

Vote

1

Regular Expression
python

"
# Keys are pretty much "any text before the '=' symbol" (?P<key>[^=]+) # Match the '=' symbol = (?P<value> # Lazy match .*? # Look-ahead (don't move the "regex cursor", just "peek forward") (?= # Match a '_' that has no other '_' between it and the '=' character, or... _[^_=\n]+= | # ... or the end of the line $ ) ) # Actually "consume" the '_' character if it exists (or just match the end-of-line) (?:_|$)
"
gmx

Description

Loading markdown...
Submitted by Online Cop - 7 years ago