Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ulrikrasmussen
· 13y ago · 0 comments
Note though that the matching semantics are different:
http://rubular.com/r/n4r7E7qMrQ
http://www.debuggex.com/?re=%28a|ab%29%28b%3F%29&str=ab
Comments
[–]
therec
13y ago
Well, you didn't use the same regular expression. If you use the same one the matching is the same. Here is the link of tubular with the same expression than debuggex:
http://rubular.com/r/rMu0nAnJai