Explain regexes
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 8.7 |
| Scores Submitted | 3 |
| Date Added | Mar 16, 2008 |
| Last Updated | Mar 17, 2008 |
| Tags | explain help regex regexes |
|
|
Introduction
Im releasing this cause it is extremely useful when you need help with regexes.
The commands are
/explain [#channel] [/regex/]
[!.@]explain [/regex/]
[!.@]regex [text] [/pattern/]
if [#channel] is not defined, it will echo the information. (or if the channel is invalid)
Pictures:


I havent checked for any bugs really, but if you find any, please report them!
Update01: Fixed a bunch of bugs and added a !regex trigger.
Update02: Fixed !regex a little, fixed some random bugs here and there aswell
Update03: Made it show the info in asc. order instead of desc.!
Update04: fixed a bug with the !explain trigger in channels.
Update05: Made it accept spaces, theyre not replaced with x20
Update06: Made the error messages return properly
Update07: Fixed the !regex trigger, it now also works properly with regexes with spaces.
Update08: Removed the 2 second delay on the first line when messaging to the channel.
Update09: Fixed some random bugs here and there, also made the !regex trigger a little better when validating the regexes, still not perfect.
mIRC Snippet:
Explain regexes
Posted on Mar 16, 2008 3:42 pm
Posted on Mar 16, 2008 3:42 pm
I like it :)
mIRC Snippet:
Explain regexes
Posted on Mar 16, 2008 3:55 pm
Posted on Mar 16, 2008 3:55 pm
nice and helpful =)
mIRC Snippet:
Explain regexes
Posted on Mar 16, 2008 3:58 pm
Posted on Mar 16, 2008 3:58 pm
I just noticed it is very buggy, im working on fixing it.
mIRC Snippet:
Explain regexes
Posted on Mar 16, 2008 4:35 pm
Posted on Mar 16, 2008 4:35 pm
All bugs I could think of are now FIXED! Also see the new updates :D
The only "problem" is that you will have to use \\x20 or \s for space, a regular "space" in the pattern will not be allowed.
The only "problem" is that you will have to use \\x20 or \s for space, a regular "space" in the pattern will not be allowed.
mIRC Snippet:
Explain regexes
Posted on Mar 16, 2008 5:53 pm
Posted on Mar 16, 2008 5:53 pm
Still has me confused, im sorry to say :s
mIRC Snippet:
Explain regexes
Posted on Mar 16, 2008 11:27 pm
Posted on Mar 16, 2008 11:27 pm
Perhaps you could try using msmo's validating regex to find where the regex is, then use $regml to use the pattern.
mIRC Snippet:
Explain regexes
Posted on Mar 17, 2008 1:45 pm
Posted on Mar 17, 2008 1:45 pm
jonesy44, what has you confused :)?
mIRC Snippet:
Explain regexes
Posted on Mar 18, 2008 12:01 pm
Posted on Mar 18, 2008 12:01 pm
well, i've read the help file, numerous times, but can't find a "use" or an "example" lol
mIRC Snippet:
Explain regexes
Posted on Mar 18, 2008 1:47 pm
Posted on Mar 18, 2008 1:47 pm
It goes through each thing in a regex statement and explains it, I don't get what there's not to get about it 
The screen shots pretty much explain what it does.
The screen shots pretty much explain what it does.
mIRC Snippet:
Explain regexes
Posted on Mar 18, 2008 2:28 pm
Posted on Mar 18, 2008 2:28 pm
He might mean the regex engine itself?









