Character case sensitive rules

General discussion about PopTray. You love it? You hate it? Talk about it here.

Moderators: KY Dave, jojobear99, Rdsok

Post Reply
Sfor
First Timer
Posts: 4
Joined: Thu Mar 31, 2005 6:26 pm

Character case sensitive rules

Post by Sfor » Fri Oct 26, 2007 11:37 pm

I'm looking for a way to make a case sensitive rule. I was looking in the "Guide to Write Regular Expressions", but I found no solution.

So far the, expressions seem to be case unsensitive, always.

Is there a way to create such a case sensitive expression?

User avatar
Rdsok
PopTray Family
Posts: 1352
Joined: Fri Mar 19, 2004 11:36 pm
Location: Norman, Oklahoma USA
Contact:

Post by Rdsok » Sat Oct 27, 2007 4:16 am

I guess you didn't go the page referenced for the type of RegExpr being used.... so go to http://www.regexpstudio.com/TRegExpr/He ... yntax.html and read about modifiers

Sfor
First Timer
Posts: 4
Joined: Thu Mar 31, 2005 6:26 pm

Post by Sfor » Sat Oct 27, 2007 8:29 am

I found a case insensitive modifier "i", but the PopTray is using case insensitive mode by default.

I do not know how to switch to the case sensitive mode, still.

User avatar
Rdsok
PopTray Family
Posts: 1352
Joined: Fri Mar 19, 2004 11:36 pm
Location: Norman, Oklahoma USA
Contact:

Post by Rdsok » Sat Oct 27, 2007 6:18 pm

Quoted from their instructions...

Examples:
(?i)Saint-Petersburg matchs 'Saint-petersburg' and 'Saint-Petersburg'
(?i)Saint-(?-i)Petersburg matchs 'Saint-Petersburg' but not 'Saint-petersburg'
(?i)(Saint-)?Petersburg matchs 'Saint-petersburg' and 'saint-petersburg'
((?i)Saint-)?Petersburg matchs 'saint-Petersburg', but not 'saint-petersburg'

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests