3 ms·
I think they're a valuable as a simple tool e.g. using :s/^#// in vim. However, I try to avoid using them in my code unless they improve readability. Using re.
by scott_w 14y ago
I think they're a valuable as a simple tool e.g. using :s/^#// in vim.
However, I try to avoid using them in my code unless they improve readability. Using re.VERBOSE can help in Python.
If you find a regex online, you should definitely reference it in your code, to help provide background understanding, such as validating a UK Post Code.