Post Reply 
Nail down this bug?
Oct. 16, 2010, 04:48 AM
Post: #8
RE: Nail down this bug?
(Oct. 14, 2010 06:34 PM)JJoe Wrote:  When I get a chance I'll put something together and post it so that all can see what we are talking about.

These filters may explain the problem that I see.
I would not mind being wrong...
I plan to put a bug report in Proxomitron Program later.

Add the filters to the top of your Web Page Filters.

Code:
[Patterns]
Name = "A -- correct: $TST(\0=*) does not match"
Active = FALSE
Limit = 256
Match = "$TST(\0=*)"
Replace = "\k"

Name = "B -- incorrect: $TST(\0=*) does match"
Active = FALSE
Limit = 256
Match = "(^z)\0nevermatch(^)|$TST(\0=*)"
Replace = "\k"

Name = "C -- correct: $TST(\0=*) does not match with workaround"
Active = FALSE
Limit = 256
Match = "(^z)(\0)nevermatch(^)|$TST(\0=*)"
Replace = "\k"

Name = "D -- Create problem for A and C "
Active = FALSE
Limit = 256
Match = "(^z)\0nevermatch(^)"
Replace = "\k"

Test filter "A". Test should fail because \0 should have no value.

Test filter "B". This filter should not match but does!
The left side of the match "(^z)\0nevermatch(^)" always fails. The right side is the same as filter "A"s match.
Filter "B" and filter "A" should test the same.

Test filter "C". Test should fail because \0 should have no value and does fail. Putting the variable in parentheses 'fixes' something.

Enable filter "A" and filter "D" and try to load Google. Google should load but will not!
Filter "D" never matches and should not change the value of the positional variable \0.
However, after filter "D" fails, filter "A" finds "$TST(\0=*)" to be true and matches.

(Oct. 15, 2010 05:53 PM)sidki3003 Wrote:  If it turns out (soon) that it's better to replace all occurrences of mentioned notation, i'll do it, of course.
If so, we'd also need a Perl-style RegEx that finds all such expressions (for Notepad++ or UltraEdit, must match nested parens).

I tend to agree with

sidki3003 Wrote:I haven't noticed side-effects there, so i think i'll leave them as is.

I don't think the perfect expression is possible. Errors could be introduced.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Nail down this bug? - sidki3003 - Oct. 13, 2010, 05:57 PM
RE: Nail down this bug? - Graycode - Oct. 13, 2010, 06:30 PM
RE: Nail down this bug? - sidki3003 - Oct. 13, 2010, 06:37 PM
RE: Nail down this bug? - JJoe - Oct. 14, 2010, 12:34 AM
RE: Nail down this bug? - sidki3003 - Oct. 14, 2010, 05:30 PM
RE: Nail down this bug? - JJoe - Oct. 14, 2010, 06:34 PM
RE: Nail down this bug? - JJoe - Oct. 16, 2010 04:48 AM
RE: Nail down this bug? - whenever - Oct. 16, 2010, 09:21 AM
RE: Nail down this bug? - sidki3003 - Oct. 16, 2010, 09:55 AM
RE: Nail down this bug? - sidki3003 - Oct. 16, 2010, 09:53 AM
RE: Nail down this bug? - sidki3003 - Oct. 15, 2010, 05:53 PM
RE: Nail down this bug? - whenever - Oct. 16, 2010, 01:33 PM
RE: Nail down this bug? - sidki3003 - Oct. 16, 2010, 02:40 PM
RE: Nail down this bug? - JJoe - Oct. 16, 2010, 03:43 PM
RE: Nail down this bug? - sidki3003 - Oct. 16, 2010, 05:54 PM
RE: Nail down this bug? - JJoe - Oct. 16, 2010, 08:31 PM
RE: Nail down this bug? - sidki3003 - Oct. 17, 2010, 11:23 AM
RE: Nail down this bug? - ProxRocks - Oct. 18, 2010, 07:50 PM
RE: Nail down this bug? - sidki3003 - Oct. 19, 2010, 12:21 AM
RE: Nail down this bug? - whenever - Oct. 19, 2010, 02:12 AM
RE: Nail down this bug? - sidki3003 - Oct. 19, 2010, 03:41 PM
RE: Nail down this bug? - JJoe - Oct. 19, 2010, 10:37 PM
RE: Nail down this bug? - sidki3003 - Oct. 19, 2010, 11:01 PM
RE: Nail down this bug? - JJoe - Oct. 19, 2010, 11:44 PM
RE: Nail down this bug? - JJoe - Oct. 20, 2010, 03:13 AM
RE: Nail down this bug? - sidki3003 - Oct. 20, 2010, 04:14 PM
RE: Nail down this bug? - JJoe - Oct. 20, 2010, 07:03 PM
RE: Nail down this bug? - JJoe - Oct. 20, 2010, 11:04 PM
RE: Nail down this bug? - sidki3003 - Oct. 21, 2010, 03:30 PM

Forum Jump: