Ensure that regexp extension escapes are consistently handled; substitute \d, \D, \s, \S, \w and \W with [[:digit:]], [^[:digit:]], [[:space:]], [^[:space:]], [[:alnum:]_] and [^[:alnum:]_] character classes respectively since not all POSIX regexp implementations implement all of those extensions
\d
,\D
,\s
,\S
,\w
and\W
with[[:digit:]]
,[^[:digit:]]
,[[:space:]]
,[^[:space:]]
,[[:alnum:]_]
and[^[:alnum:]_]
character classes respectively since not all POSIX regexp implementations implement all of those extensions\b
,\B
,\<
and\>
boundary matchesFixes: a45f2a3 ("lexer: improve regex literal handling") Signed-off-by: Jo-Philipp Wich jo@mein.io