3 ms·
Not sure about ffmpeg, but you should definitely try memorising regexp. Casual Search&replace that becomes possible is worth it.
by earnestinger 2y ago
Not sure about ffmpeg, but you should definitely try memorising regexp. Casual Search&replace that becomes possible is worth it.
- sergiotapia 2y agoin 15 years it never sticks and by the time i need it again i've forgotten it! :D
- kevin_thibedeau 2y agoDon't learn the Perl influenced extensions. You just need POSIX EREs (and BREs for some older utilities) which are simple enough to keep in the head.
- ziml77 2y agoAnd with the POSIX EREs, everything except the syntax for character classes will carry over to other common Regex dialects.
- Over2Chars 2y agoI'll just leave this here "The Insanity Of Linux's Regular Expressions " https://www.youtube.com/watch?v=ys7yUyyQA-Y https://www.youtube.com/watch?v=ys7yUyyQA-Y
- earnestinger 2y agoMany loosely compatible (so, not compatible if we are strict..) implementations are a problem, but awareness and testing helps. All in all, my life would be miserable if I would not have regexp available in grep/sed/editor/ide/java/python, their usefulness trump any such inconveniences.