[erlang-questions] unexpected matching in re 12B5

Attila Babo babo.online@REDACTED
Tue Feb 17 20:11:43 CET 2009

1> re:run("a b", "\\w\s\\w").

While fixing a typo in my code I've found that \s with a single
backslash is matching with a space in re:run but not the other general
characters. Is this is bug or feature of re? :-)


More information about the erlang-questions mailing list