Search found 9 matches

by ztodd
Thu Sep 24, 2020 8:54 am
Forum: General
Topic: Can I turn off multiline matching?
Replies: 7
Views: 3670

Can't reproduce in TextPad 8.4.2, and as per regex defaults the dot matches anything but linebreaks. How is it possible for you having this problem at all?

Hint: using "Configure > Word Wrap" to display one original line in multiple virtual lines still doesn't make them multiple lines in real ...
by ztodd
Wed Sep 23, 2020 10:43 pm
Forum: General
Topic: Can I turn off multiline matching?
Replies: 7
Views: 3670

Can I turn off multiline matching?

Can I turn off multiline matching for wildcards?

I.e., when I use .* in a regex, I want the .* to only match within one line.
by ztodd
Fri Aug 18, 2017 12:44 am
Forum: General
Topic: negation at end of line
Replies: 1
Views: 1878

negation at end of line

Figured out a solution before I posted my question :)
but since it's interesting, I'll still post it.

When you use a negation set right before a new line, it will match the new line character!

i.e., example file :

abc
abcd
xyz


search for reg ex:

[^c]\n

and it will match the new line ...
by ztodd
Thu May 14, 2015 6:28 pm
Forum: General
Topic: Find in Files is not finding text in one particular file
Replies: 3
Views: 1096

If this helps anyone, I made this small batch script to convert all my files from unicode to ansi - you can change the file extension for what you need -

for %%f in (*.sql) do (
type "%%f" > "%%~nf_ansi.sql"
del "%%f"
ren "%%~nf_ansi.sql" "%%f"
)
by ztodd
Thu May 14, 2015 6:18 pm
Forum: General
Topic: Find in Files is not finding text in one particular file
Replies: 3
Views: 1096

Thanks for that link to the help file ben- I probably should've checked there first thing. :)

Do you think there'd be any chance of the Textpad programmers changing their code for that to be able to support searching unicode files? Or if there's any chance of Microsoft upgrading their findstr ...
by ztodd
Wed May 13, 2015 7:49 pm
Forum: General
Topic: Find in Files is not finding text in one particular file
Replies: 3
Views: 1096

Find in Files is not finding text in one particular file

It's a plain text search- the text is definitely in that file- but the Find in Files function seems to just skip over that file or something.

I tried renaming the GUIState.xml file as mentioned in the other thread I found, but the problem still remains.

The permissions are exactly the same on this ...
by ztodd
Wed Jan 05, 2011 6:42 pm
Forum: General
Topic: CANNOT RUN WINDOWS NOTEPAD
Replies: 10
Views: 1704

Well that was a fun little diversion. :P

So, any idea how I can go about finding out what Textpad is doing exactly?
by ztodd
Wed Jan 05, 2011 12:47 am
Forum: General
Topic: CANNOT RUN WINDOWS NOTEPAD
Replies: 10
Views: 1704

Re-installing Textpad and un-checking the "replace notepad" fixed it.

There is a notepad.exe located in both c:\windows and in c:\windows\system32. Same date/time stamp in both places.

I verified that it's in both places with the same date/time stamp, no matter whether or not the "replace notepad ...
by ztodd
Tue Jan 04, 2011 9:59 pm
Forum: General
Topic: CANNOT RUN WINDOWS NOTEPAD
Replies: 10
Views: 1704

notepad won't work after uninstall of textpad

That's right.

It seems that Textpad messed up my notepad.exe file something weird. and then when I uninstall textpad so that I can use notepad again, I get this -


C:\WINDOWS\system32>dir notepad.exe
Volume in drive C has no label.
Volume Serial Number is D878-F424

Directory of C:\WINDOWS ...