Part of http://www.regular-expressions.info/posixbrackets.html Basic Regular Expressions is support for POSIX Bracked Expressions http://www.regular-expressions.info/posixbrackets.html like Character Classes.binary operator that matches value against POSIX extended regular expression
That fails at first try: `[:digit:]` isn't supported.
Code: Select all
[jeroenp@MikroTikCCR1009] > :put ("1"~"[:digit:]")
false
[jeroenp@MikroTikCCR1009] > :put ("1"~"[0-9]")
true
--jeroen