I have some lines of tab delimited data, and I want pipe-delimited (and terminated) data. Since I have a leading tab, I search for '\t|$' and replace with '\|'. This creates and infinite loop -- it finds the line ending, replaces it with a '|' and finds the new line ending.
Replacing all \ts and $s ...
Search found 5 matches
- Tue Dec 02, 2014 6:48 pm
- Forum: General
- Topic: 'Replace All' finding '\t|$' finds line ending infinitely
- Replies: 2
- Views: 723
- Tue Dec 02, 2014 6:42 pm
- Forum: General
- Topic: Gone, but not forgotten
- Replies: 4
- Views: 2602
Set Microsoft Compatibility for your keyboard
Configure/Preferences/Editor/Keystroke compatibility
By default it's something unexpected, which may do strange things to the home key.
By default it's something unexpected, which may do strange things to the home key.
- Thu Jul 29, 2010 2:40 pm
- Forum: General
- Topic: Multiple-instances setting not working in 5.3 ?
- Replies: 16
- Views: 4022
That seems to have fixed it!
I was pleased to see the 'replace Notepad' option. But, having to choose, I'll stick with single instance.
Please consider this as 'making noise.'
Please consider this as 'making noise.'
- Fri Mar 03, 2006 4:59 pm
- Forum: General
- Topic: Parentheses clinging to my backreference
- Replies: 3
- Views: 461
Oh, I see
Now that you mention it, I did notice that the examples used escaped parens to bracket a search token. I just didn't internalize it.
Thanks!
Thanks!
- Fri Mar 03, 2006 3:32 pm
- Forum: General
- Topic: Parentheses clinging to my backreference
- Replies: 3
- Views: 461
Parentheses clinging to my backreference
I'm converting Oracle code to SQL Server. One of my little tricks is to run regexp replaces like
TO_CHAR\((.*)\)
with
CAST(\1 AS NVARCHAR(8))
but this give me
CAST((numstring) AS NVARCHAR(8))
instead of
CAST(numstring AS NVARCHAR(8))
Apparently, the parentheses I'm using to denote the token I'm ...
TO_CHAR\((.*)\)
with
CAST(\1 AS NVARCHAR(8))
but this give me
CAST((numstring) AS NVARCHAR(8))
instead of
CAST(numstring AS NVARCHAR(8))
Apparently, the parentheses I'm using to denote the token I'm ...