Regular expressions that work “everywhere” (www.johndcook.com)
from cm0002@infosec.pub to programming@programming.dev on 28 Jun 02:07
https://infosec.pub/post/48646760

#programming

threaded - newest

jokro@feddit.org on 28 Jun 06:27 collapse

In theoretical CS, there is just * and |. All other operations can be emulated with them. Of course this is not practical.

Things like \s are really useful so you don’t have to list every future (unicode) variant of whitespace.