Tag Info

New answers tagged


I see strange regex out there that appear to be more complex than necessary... for example, why use (.*) instead of just a *??? Because in regular expressions (as opposed to globbing patterns / standard wildcards) the * (asterisk) by itself does not mean anything. The * repeats the previous element 0 or more times. For example, the regex A* will match ...

Top 50 recent answers are included