2 ms·
Handy. This does gloss over some of the notable differences between implementations (not everything has non-greedy matches or identical {m,n} or {m,} syntax),
by JoshTriplett 13y ago
Handy. This does gloss over some of the notable differences between implementations (not everything has non-greedy matches or identical {m,n} or {m,} syntax), but it's still by far the best tutorial introduction I've seen for regular expressions.
- sdrothrock 13y agoWould you mind linking the best tutorial introduction that you've seen for regular expressions? I found the parent link incredibly useful because it listed common, useful expressions and examples of what you do (or don't) get when you use them. I don't think of it as a tutorial at all since it wasn't really -- more of a reference or a quick guide.
- JoshTriplett 13y agoIn my comment above, I said this is the best tutorial introduction I've seen, even with its few limitations regarding differences between regex implementations.
- sdrothrock 13y agoWhoops! Sorry for misreading that. I completely misread "Handy" as "Hardly" and then saw "Hardly. This does gloss over some of the notable differences . . ." which changed the entire tone of your comment for me. My bad.
- grymoire1 13y agoHere's a regex tutorial http://www.grymoire.com/Unix/Regular.html http://www.grymoire.com/Unix/Regular.html There are also tutorials on sed and awk as well