StepCoding

Anchors

อ่าน [1355] หมวดหมู่: Perl-Compatible

Regular expression แบบ Perl-compatible ได้สนับสนุน anchor เพิ่มเติมจากแบบ [storng]POSIX มีดังนี้

AssertionMeaning
\bWord boundary (ระหว่าง \w และ \W)
\BNon-word boundary (ระหว่าง \w และ \w หรือระหว่าง \W และ \W)
\ABeginning of string
\ZEnd of string หรือ ก่อน \n ในจุดสุดท้ายของ string
\zEnd of string
^Start of line
$End of line

ผู้สนับสนุน