CastleCops, Internet Crime Fighters
Need help? Click here to register for free! Absolutely zero advertisements on this site!

$9736.22 of $21422.68
left sidedonated so farneed $11686.46 donated to reach our goalright side, our goal
Help CastleCops serve the community on new servers, Donate Here to reach our goal.

Donation/Premium
spacer
block bottom
Security Central
spacer
· Home
· PIRT/Fried Phish
· MIRT
· SIRT
· Deutsch
· Wiki
· Newsletter
· O16/ActiveX
· CLSID List
· Contest2007
· Downloads
· Feedback (send)
· Forums
· HijackThis
· Hijacktrend
· LSPs
· My Downloads
· O18
· O20
· O21
· O22
· O23
· O9
· Premium
· Private Messages
· Proxomitron
· Reviews
· Search
· StartupList
· Stories Archive
· Submit News
· WsIRT
· Your Account
· Acceptable Use Policy
block bottom
Survey
spacer
Was 2007 a good year?

Yes it was a wonderful year
Yes, but there is always room for improvement
Status quo
It was a challenge
Other (leave comment)



Results
Polls

Votes: 937
Comments: 25
block bottom
spacer spacer

Q: Case Insensitive Regular Expressions ????

 
Post new topic   Reply to topic       All -> FavForums -> Mailwasher - Troubleshooting / General [del.icio.us!] [digg it!] [reddit!]
View previous topic :: View next topic  
Author Message
IP: 192.19.*.*

Guest






PostPosted: Wed Dec 10, 2003 1:45 pm    Post subject: Q: Case Insensitive Regular Expressions ????
Reply with quote

Is there something I could do, to have MW Pro do case-insensitive pattern matching for Regular Expressions? Is there something I could add to the pattern itself to match, for example "Hello", "hello", "hEllo", "hellO", without actually specifying all the possible combinations?

Or does MW Pro already do that by default?

Back to top
Ikeb

Special Response Team
Forums Admin

Joined: Apr 20, 2003
Posts: 16506

Forums Admin Moderators MVP Premium SRT Team CC Committee Team F@H

PostPosted: Wed Dec 10, 2003 2:41 pm    Post subject:
Reply with quote

Yes to the latter.

Back to top
View users profile Send private message
Perry

Lieutenant
Lieutenant


Joined: Oct 19, 2003
Posts: 291
Location: USA

PostPosted: Thu Dec 11, 2003 3:17 am    Post subject:
Reply with quote

Ikeb wrote:
Yes to the latter.


Case sensitivity on the local part of addresses could come in handy on some systems that allow its use.

Perry

Back to top
View users profile Send private message Visit posters website
UserFriendly

Captain
Captain


Joined: Apr 18, 2003
Posts: 348


PostPosted: Tue Dec 16, 2003 11:03 am    Post subject:
Reply with quote

You can use embedded modifiers to alter things like case sensitivity.

Regular expression: "(?-i)hello" will match "hello" but not "Hello" or "hEllo" etc.

Regular expression: "(?i)hello" will match all three but this is the default in MailWasher so the "(?i)" is unnecessary.

See: http://anso.virtualave.net/RegExpE/tregexpr_syntax.htm

Note: You might want to add this site your your "Restricted sites" or equivalent to stop the Gator popups.

Edit: The site has now moved to:
http://regexpstudio.com/TRegExpr/Help/RegExp_Syntax.html

-UserFriendly

Back to top
View users profile Send private message Visit posters website
Display posts from previous:   
Post new topic   Reply to topic       All -> FavForums -> Mailwasher - Troubleshooting / General All times are GMT
Page 1 of 1

 
Quick Reply:
Username: 

Quote the last message
Attach signature (signatures can be changed in profile)
 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001 phpBB Group
spacer spacer