You are here: PSPad forum > Bug report / Hlášení chyb > List in Find ignores RE 4.5.4 (2325) en

List in Find ignores RE 4.5.4 (2325) en

#1 List in Find ignores RE 4.5.4 (2325) en

Posted by: sgp | Date: 11/19/2008 08:04 | IP: IP Logged

List in Find ignores RE, pspad 4.5.4 (2325) english
enter in Find: ^target
check Regular Expression
press List

The list window shows all lines where "target" occurs anywhere, instead it should show just the lines where "target" starts at character position 1. Bug?

Pressing F3 works fine, jumping from RE match to RE match.

Bug doesn't happen on all computers.
Happens on WinXP Pro SP2 English.
Doesn't on WinXP Pro SP3 English.

Perhaps the two computers have a different version of the RE dll, could this be the cause of this problem? What RE dll name should I look for? Does pspad load the first dll found in %PATH%, or does is it load from a fixed folder?

Edited 1 time(s). Last edit at 11/19/2008 08:50 by sgp.

Options: Reply | Quote | Up ^


#2 Re: List in Find ignores RE 4.5.4 (2325) en

Posted by: vbr | Date: 11/19/2008 10:13 | IP: IP Logged

sgp:
...
enter in Find: ^target
...The list window shows all lines where "target" occurs anywhere, instead it should show just the lines where "target" starts at character position 1. Bug?
...
Bug doesn't happen on all computers.
Happens on WinXP Pro SP2 English.
Doesn't on WinXP Pro SP3 English.
...

Just wanted to confirm, that list using RE works as expected for me on WinXPp SP3 (Czech) - PSPad 4.5.4 (2331).
I'm not sure however, how this behaviour could depend on SP2 vs. SP3 difference; I thought the regexp engine was built-in in PSPad...
Maybe you can try the latest beta version, but I don't know, if there were some changes in this functionality.

Options: Reply | Quote | Up ^


#3 Re: List in Find ignores RE 4.5.4 (2325) en

Posted by: sgp | Date: 11/20/2008 12:36 | IP: IP Logged

vbr:
Just wanted to confirm, that list using RE works as expected for me on WinXPp SP3 (Czech) - PSPad 4.5.4 (2331).
I'm not sure however, how this behaviour could depend on SP2 vs. SP3 difference; I thought the regexp engine was built-in in PSPad...

Thank you.
Well, in the past and with other programs I have seen strange RE-related bugs because those programs loaded an RE-engine version different from what they expected. It usually happened because an RE dll was found first in the %PATH%. I don't know if PsPad is exposed to a similar problem, or if this issue is caused by something else. That's why I was asking all that information about how PsPad loads its RE engine.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2013 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák