Hi all,
So I'm trying to throw together some basic aliases for combat - unfortunately I've created a pattern which is breaking. So one I tried to create has the alias 'con' but if I type conman it still triggers the alias. I'm assuming its because its a regex alias but I couldn't figure out how to change that. Any tips on how to fix it?
Thanks!
Comments
^ = beginning of the line. This will prevent the alias from firing if the first letter isn't c. If you have a space in front of cont it won't fire because the first thing at the beginning of the line isn't c.
$ = end of line. So, you can't have anything trailing 'cont'.
\w = word. It will match any alphanumeric character. Adding a plus after means matching 1 or more.
\d = digit. Matches numeric characters
\s = spaces, matches spaces.