Regular Expressions 101

Library entries

0
javascript

Danish date

Find Danish date
Submitted by anonymous - 4 years ago
0
javascript

Don Hang

no description available
Submitted by anonymous - 4 years ago
0
javascript

Twitter search scraper

no description available
Submitted by anonymous - 4 years ago
0
javascript

HeatingManager - Identify Hours

no description available
Submitted by anonymous - 4 years ago
0
javascript

Emoji escaper

no description available
Submitted by anonymous - 4 years ago
0
javascript

Embedly Providers

no description available
Submitted by anonymous - 4 years ago
0
javascript

AWS API access key

Catching AWS API access keys
Submitted by anonymous - 4 years ago
0
javascript

UGUF - Saison

Extract season from different title formats
Submitted by anonymous - 4 years ago
0
javascript

yt exp

no description available
Submitted by anonymous - 4 years ago
0
javascript

Name validation

no description available
Submitted by anonymous - 4 years ago
0
javascript

nvsm

no description available
Submitted by anonymous - 4 years ago
0
javascript

Formula All Operands

no description available
Submitted by anonymous - 4 years ago
0
javascript

Formula Parse Operand

no description available
Submitted by anonymous - 4 years ago
0
javascript

i.imgur.com Link matcher

no description available
Submitted by anonymous - 4 years ago

npm expression parser using javascript engine.

Vote

0

Regular Expression
javascript

/
^(?<exe>npm)?\ ?(?<run>(?<=\k<exe> )run(?:-script)?)?\ ?(?<command>(?<=\k<run> )[a-z]+(?:[-|:|.|_][a-z]+)?|(?<!\k<run> )[a-z]+(?:[-][a-z]+)?)?\ ?(?<pkgdetails>[a-z0-9\>\=\:\+\#\^\.\@\/][a-z0-9\>\=\:\+\#\^\~\.\@\/\-]+)?\ ?(?<options>(?:\ [-]{1,2}[a-zA-Z]+(?:[-][a-z]+)*)*)?$
/
gm

Description

Loading markdown...
Submitted by marckassay - 4 years ago