3 ms·
They do totally different things. A regex will tell you if the haystack contained any needle (and if you want, give you one specific one which depends on the en
by morelisp 4y ago
They do totally different things. A regex will tell you if the haystack contained any needle (and if you want, give you one specific one which depends on the engine/compilation). AC tells you all needles the haystack contained.