Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
Regex match exactly n times or exactly n1 times ?
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Re: Regex match exactly n times or exactly n1 time
#
69842
31/01/04
06:04 PM
Joined:
Feb 2003
Posts: 2,812
Raccoon
Hoopy frood
Raccoon
Hoopy frood
Joined:
Feb 2003
Posts: 2,812
And unless you're using $regml or $regsub to backreference, you should use:
/^([color:blue]?:
[a-z]{6}|[a-z]{10})$/[/color]
Just a bit faster, telling the regex engine to group but not backref.
Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Copy Link to Clipboard
Entire Thread
Subject
Posted By
Posted
Regex match exactly n times or exactly n1 times ?
Adrenalin
31/01/04
05:02 PM
Re: Regex match exactly n times or exactly n1 times ?
Collective
31/01/04
05:20 PM
Re: Regex match exactly n times or exactly n1 time
Adrenalin
31/01/04
05:34 PM
Re: Regex match exactly n times or exactly n1 time
Raccoon
31/01/04
06:04 PM
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Flat Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage