2 ms·
Ever used \b? This is like that, but for other patterns. Very useful in many situations, like tokenizing (because you have to match on things the last match alr
by minitech 11y ago
Ever used \b? This is like that, but for other patterns. Very useful in many situations, like tokenizing (because you have to match on things the last match already consumed).
- lolc 11y agoMaybe I've used \b before, but I can't recall using regexes for tokenizing. They've either been too powerful or not powerful enough for my tokenizing needs.