Hacker News new | ask | show | jobs
by jwlake 317 days ago
this is similar to the g modifier in javascript?
1 comments

No, g is the global modifier so gives you multiple mateches rather than stopping on the first match encountered.