Regular Expressions 101

Sponsors

Library entries

0
pcre

匹配<>中的字符

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

Eastlink Modem Get Equipment location

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

Enrno Match

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

Sigma : MSIExec Web install

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

Buildings

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

Actor command

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

true url with www without point check

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

Meraki Project Status and Email

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

email --

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

Blueprism

Search with End Anchor NIF/CIF without space
Submitted by anonymous - 2 years ago
0
pcre

url validate

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

Meraki Check if Installer

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

Add annotation in doc block

no description available
Submitted by anonymous - 2 years ago

Validate WKT Polygon

Vote

0

Regular Expression
pcre

/
(?(DEFINE) (?'longitude'[-+]?(?|180(?>\.0+)?|(?>1[0-7]\d|[1-9]?\d)(?>\.\d+)?)) (?'latitude'[-+]?(?|90(?>\.0+)?|[1-8]?\d(?>\.\d+)?)) (?'polygon'(?>\s*\(\s*(?<X>(?P>longitude))\s+(?<Y>(?P>latitude))(?>\s*,\s*(?P>longitude)\s+(?P>latitude)){2,}\s*,\s*\k<X>\s+\k<Y>\s*\)\s*)) )^POLYGON\s*\((?P>polygon)(?>,(?P>polygon))*\)$
/
X

Description

Loading markdown...
Submitted by anonymous - 2 years ago