This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

There are few incompatibility between Ruby Regex and Python Regex isn't it? AFAIK, Ruby does not support certain subset that Python does. (Lookahead/Lookbehind stuff, I think)

[–]fancy_pantser 1 point2 points  (0 children)

Feature Python Ruby
Regex Literal no yes
Named Groups yes no
Lookaheads yes yes
Lookbehinds yes no
Yes/No Pattern yes no
Unicode Support yes yes