Regular Expressions 101

Library entries

0
python

Author cite

Get author names from shitty import
Submitted by anonymous - 5 days ago
0
python

Session Start/Close

Capturing Start/Close in IRC-logs
Submitted by Corpset - 12 days ago
0
javascript

test

test
Submitted by anonymous - 13 days ago
0
python

PLDI regex 3

for pldi answer
Submitted by PlaceReporter99 - 14 days ago
0
python

PLDI regex 2

for pldi answer
Submitted by PlaceReporter99 - 14 days ago
0
python

PLDI regex 1

For pldi answer
Submitted by PlaceReporter99 - 14 days ago
0
python

Dyno warning regex

Used to separate things in dyno warning
Submitted by anonymous - 14 days ago

Find ytdlp downloaded file path

Vote

0

Regular Expression
python

r"
(?:(?# Pattern before filename )(?:\[download\] )?Destination: (?# )|(?# )\[download\] (?# )|(?# )Adding metadata to \"(?# ))(?# )((?# CAPTURE GROUP: filename pattern )\/?[^\/\\\n]+(?:\/|\\)(?# Capture first folder )(?:(?# )[^\n\.]*(?# Stop capturing if point, to check )(?!\.f\d{1,4}\.(?:webm|mov|mp4))(?# Checking this is not a partial download )\.(?# Can now capture the point ))+(?# )(?:webm|mov|mp4)(?# ))(?# )\n?
"
gm

Description

Loading markdown...
Submitted by ezalos - 3 months ago