Jump to content

Recommended Posts

Posted

Maybe your helpfile is outdated, because I clearly see "\b Matches at a word boundary." documented as one of StringRegExp pattern characters.

$sNeedle = "Alice"
$x = StringRegExp(" Alice ", "\b"&$sNeedle&"\b")
ConsoleWrite($x & @CRLF)

$sNeedle = "lic"
$x = StringRegExp(" Alice ", "\b"&$sNeedle&"\b")
ConsoleWrite($x & @CRLF)

"be smart, drink your wine"

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...