As I was finishing my reply, it began to dawn on me that we had, in fact, had this discussion before. Anyway, it seemed that it might still be useful to a novice monk to be exposed to the disagreement.
Give a man a fish: <%-{-{-{-<
| [reply] [d/l] |
For my part, I consider automatic inclusion of flags a kind of micro-cargo-culting. If they are there, my assumption is they are necessary for the code to operate correctly. That means that if they are not actually needed, my assumption may lead me to possibly misunderstand the source they will operate upon or need to investigate or read the regex a lot more closely than I normally would. Probably not a big, or any, deal in general but in the cases it might be, it will make me angry with the original dev. That said, I habitually use some constructions that violate my stated policy of the necessary, like +shift, so I am not really one to talk. :P
| [reply] [d/l] |