[thelist] reg exp for last whack

misterhaan misterhaan at track7.org
Sun Apr 16 16:22:08 CDT 2006


Canfield, Joel wrote:
> tried this in textpad for a reg exp and it says it's invalid:
>
>     \\\([a-z0-9]*\)\n
>
> and replace it with
>
>     \t\1\n
>   
I'm not familiar with textpad specifically, but generally you don't 
escape the parentheses unless you're trying to match that character.  
Since you're grouping for use with the \1 reference later, you don't 
want to escape them here.  I wouldn't think that would make it invalid 
though, so there's probably more to it.



More information about the thelist mailing list