|
Case sensitive matching
|
|
Feb. 09, 2008, 11:54 AM
Post: #1
|
|||
|
|||
|
Case sensitive matching
How could i make matching case sensitive? I read the docs and I am still clueless.
I know that for HTML case is useless, but once you want to match the text that is withhin the HTML tags it makes perfect sense. |
|||
|
Feb. 10, 2008, 07:47 AM
Post: #2
|
|||
|
|||
|
RE: Case sensitive matching
Guest;
In general, Proxo is case-insensitive. But there are times when a text string can fool Proxo, so it's nice to know that you can "force" the issue, so to speak. In the Proxo language/syntax, you search for a match on a specific letter (or number) by using brackets, like this: [a], or [abc], or [a-s] (to get every lower case letter between a and s, inclusive). You can easily double the letters, like so: [Aa], or [AaBbCc] or [ABCabc], all are equally good. Of course, there will be a time penalty for all this, each letter will be inspected for every letter coming along the datastream. I suggest strongly that you check your boundaries rigorously before saving your new filter! Also, keep in mind that Proxo will claim "Bingo" for the first match, so consider carefully which desired letters are most likely to come first, upper or lower case. HTH Oddysey I'm no longer in the rat race - the rats won't have me! |
|||
|
Feb. 10, 2008, 09:40 AM
Post: #3
|
|||
|
|||
|
RE: Case sensitive matching
Hello,
it did'nt work for me, it seems that Chracter-classes are also case insensitive. what im trying to do: ([a-z])\1[I][n]([^a-zA-Z])\2 => \1\2 formerly: ([a-z])\1In([^a-zA-Z])\2 => \1\2 i want to remove the "In" suffix from words. ([^a-zA-Z])\2 is just an ugly workaround for word-bounds since there is no \> or \b (since ccs seem to be insensitive too i think [^a-z] would do the trick as well. Anyway ([a-z])\1[I][n]([^a-zA-Z])\2 should not match "mein", but thats unfortunately what it does. |
|||
|
Apr. 21, 2008, 10:30 PM
Post: #4
|
|||
|
|||
|
RE: Case sensitive matching
Code: [Patterns]Does this work for you?
|
|||
|
« Next Oldest | Next Newest »
|

Search
Member List
Calendar
Help



![[-]](images/ONi/collapse.gif)


