Only I'm not doing an RE replacement. RE box is not checked.
I've upgraded to 2.0, and for now I'll drop back and use 1.1 as I don't recall this ever happening with 1.1
Message of "invalid preceding regular expression"
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Message of "invalid preceding regular expression"
(2[Bb]|[^2].|.[^Bb])
That is the question.
That is the question.
I'm getting it with literally anything I try. At first I thought it was because I had backslashes in my string, but I've tried a number of different things. I get the error with something as basic as replacing the letter a with the letter b using WildEdit 2.0
In Search for, all of the checkboxes are unchecked.
In Replace with, I've tried with Literal Replacement checked and unchecked.
The Include file filter is *.bat
The Exclude file file is blank
Search subfolders is not checked.
Encoding is windows-1252
In Search for, all of the checkboxes are unchecked.
In Replace with, I've tried with Literal Replacement checked and unchecked.
The Include file filter is *.bat
The Exclude file file is blank
Search subfolders is not checked.
Encoding is windows-1252
(2[Bb]|[^2].|.[^Bb])
That is the question.
That is the question.
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
I used your settings searching for "a" and replacing with "a".
Had no errors, here is message from my log:
Had no errors, here is message from my log:
Using WildEdit 2.0 on XP PRO-SP3.=== BEGIN REPLACE COMMAND ===
{
Time: 2010-Feb-20 22:46:44
Search Pattern: a
Replacement Format: a
Character Encoding: windows-1252
Root folder: C:\Temp
Include Filter: *.txt
Exclude Filter:
Regular Expression: false
Match Words: false
Match Case: false
"." matches null characters: false
"." matches end of line characters: false
Literal Replacement Format: true
Search Subfolders: false
}
C:/Temp/BoiseNetWiz.txt: 222 replacements made
C:/Temp/Destination.txt: 1520 replacements made
C:/Temp/hpjsilg2.txt: 1730 replacements made
C:/Temp/taskx.txt: 369 replacements made
C:/Temp/temp.txt: 42 replacements made
C:/Temp/test.txt: 3 replacements made
Number of files searched: 6
Number of files modified: 6
Total changes made: 3886
=== END REPLACE COMMAND ===
Hope this was helpful.............good luck,
Bob
Bob
I solved it by deleting my config2.xml file in %USERPROFILE%\Application Data\Helios\WildEdit
Old config2.xml:
<WildEdit>
<Placement>
<value name="Main"
type="blob">A0000000A0000000023000000D20000010000000D21000000E100000</value>
<value name="Registers"
type="blob">00000000000000000000000000000000</value>
</Placement>
<Options>
<value name="flags"
type="bitset">0010000001001000000000000001</value>
<value name="OnceOnly"
type="bitset">00000000000000000000000000000001</value>
<value name="height"
type="int">100</value>
<value name="monospaced"
type="int" />
<value name="monospacedfont"
type="string">Courier New</value>
<value name="TipState"
type="blob">001000000000000010000000</value>
</Options>
New config2.xml:
<WildEdit>
<Placement>
<value name="Main"
type="blob">A0000000A0000000023000000D200000100000000F0000000E100000</value>
<value name="Registers"
type="blob">00000000000000000000000000000000</value>
</Placement>
<Options>
<value name="flags"
type="bitset">0010000000001000000000000001</value>
<value name="OnceOnly"
type="bitset">00000000000000000000000000000001</value>
<value name="height"
type="int">100</value>
<value name="monospaced"
type="int" />
<value name="monospacedfont"
type="string" />
<value name="TipState"
type="blob">001000000000000010000000</value>
</Options>
(2[Bb]|[^2].|.[^Bb])
That is the question.
That is the question.