Regex behavior differences from windows to Linux

Yes there are regex differences between platforms due to the underlying libraries provided on each platform. There’s a long discussion at Digit \d matching in regex

It seems the safest form is to use POSIX-compliant regexen such as [[:space:]]

3 Likes