i am studying the pantelides alorithm and i need some help regarding a regular expression the pantelides alorithm located int he index.php of the main package @ http://jpye.dyndns.org/pantelides/
in the index.php file i see:
if(preg_match_all("#\\b([a-z][a-z_0-9]*)(?!\\()\\b#i",$str,$matches)){
now, i'm not an expert in reg exp but i know what [a-z] means but that is \\b
means?
Word boundaries
In a double-quoted php string you'll need to escape the backslash using another backslash. Thus, "\\b"
is '\b'
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With