Regular Expressions 101

Sponsors

Library entries

0
pcre

4

no description available
Submitted by anonymous - 7 years ago
0
pcre

Mobile Pattern

Simple Mobile Pattern
Submitted by Saeed Tabrizi - 7 years ago
0
pcre

select div like things

no description available
Submitted by anonymous - 7 years ago
0
pcre

AAA

no description available
Submitted by anonymous - 7 years ago
0
pcre

extract sql table name from request

no description available
Submitted by anonymous - 7 years ago
0
pcre

GROUPS

YEAH
Submitted by AWESOME - 7 years ago
0
pcre

4.2 numerisch mit tausender kennzeichen

no description available
Submitted by anonymous - 7 years ago
0
pcre

remove empty html paragraph tags

no description available
Submitted by acor3 - 7 years ago
0
pcre

Url Parser for Alpha(Dash Numeric) Pattern

a-123-2134
Submitted by Matthew Marcus - 7 years ago
0
pcre

Parse Query segment from URL path

no description available
Submitted by Matthew Marcus - 7 years ago
0
pcre

TAYLOR REPLACEMENT STRING

TAYLOR Part Replacement
Submitted by Case Ahr - 7 years ago

switch case statemen in C++

Vote

0

Regular Expression
pcre

/
(?:switch\s*\((?P<conditional>(?:(?:(?:"(?:(?:\\")|[^"])*")|(?:'(?:(?:\\')|[^'])*'))|[^\(\)]|\((?1)\))*)\)\s*{)*(?:(?:\s*(?:case(?P<value>.*?):?\s*{(?P<body>(?:(?:(?:"(?:(?:\\")|[^"])*")|(?:'(?:(?:\\')|[^'])*'))|[^{}]|{(?2)})*)\s*}))+?)|(?:default:\s*{(?P<default_body>(?:(?:(?:"(?:(?:\\")|[^"])*")|(?:'(?:(?:\\')|[^'])*'))|[^{}]|{(?1)})*)\s*}\s*)?}
/
img

Description

Loading markdown...
Submitted by Денис Суховерхов - 7 years ago