Regular Expressions 101

Library entries

0
pcre2

scss class matching

scss class matching
Submitted by lucas - a year ago
0
pcre2

ipv4 match

ipv4 match
Submitted by anonymous - a year ago
0
pcre2

股票代码

aa
Submitted by vv - a year ago
0
pcre2

Get HTML attribute

Get HTML attribute with /" inside
Submitted by anonymous - a year ago
0
pcre2

IP address with port

Match ip address with port
Submitted by PARNKOT - a year ago
0
pcre2

Env Var

Regex to match Env Variable whole line
Submitted by anonymous - a year ago
-1
pcre2

is

Hi it is me
Submitted by anonymous - a year ago
1
pcre2

Detect zoom meeting links

Find zoom links in text
Submitted by Artyom Ivanov - a year ago

C++ Expression Match

Vote

0

Regular Expression
pcre2

/
^(?'EXPR'(\+\+|--|\+|-|\*|\&|~|!)?\s*(((-?(?(?=0[xX])0[xX][\da-fA-F]+\.[\da-fA-F]|\d+\.\d*))|(-?(?(?=0)0(?(?=[xX]).[\da-fA-F']+|(?(?=[bB]).[01']+|[0-7']))|[\d']+))|('\\?.{1,4}')|((L|u8|u16|u32|(?:))"((\\\\)*\\"|[^"])*")|(R"(?'OPENING'.*)\(.*\)\g{OPENING}"))(\s*[\w$][\w\d$]*)?|[\w$][\w\d$]*(::[\w$][\w\d$]*)*)((\s*\+\+|--)|(\s*([+\-*\/%<>&|]|(\<\<|\>\>|\&\&|\|\|\<=|\>=|==|!=))\s*(?&EXPR))|(\(((?&EXPR)(\s*,\s*(?&EXPR))*)?\))|(\<((?&EXPR)(\s*,\s*(?&EXPR))*)?\>)|(\[(?&EXPR)\]))*)$
/
m

Description

Loading markdown...
Submitted by anonymous - a year ago