Regular Expressions 101

Sponsors

Library entries

0
golang

eleveo

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

Android signal level

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

ISO 8601 timestamp

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

basic email

not amazing but better than seb's
Submitted by anonymous - 4 years ago
0
javascript

getText&Numbers

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

Twist Login

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

Twist

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

Python Call Graph

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

Demo Breakdown

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

Splitter ES

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

sss

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

Password

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