If someone wants to help me test my regex tester, head over to http://www.rexv.org/
Any comments and suggestions will be appreciated.
10q
How do you use it? I was expecting to be in awe since I'm practically in love with Regex but it doesn't seem to do anything in Firefox 1.5
I typed a search and a replacement in the PCRE tab then clicked update manually and nothing happened. Could you explain how it works?
EDIT | Apologies I'm a dumbass I had to have some text in the bottom. I thought it was going to explain my regex to me It seems to be having issues with my patterns though /^foo/i gives "Unknown modifier 'f'"
Last edited by Chris Corbyn on Tue Jan 03, 2006 4:17 pm, edited 1 time in total.
You should have a target to match against... Clicking on the Manual update isn't necessary, since it's updating automatically after you stop typing
Ah, forgot - i'm using Firefox 1.5 as a main browser, but it should work in all major browsers (tested in Firefox 1.5, IE5+, Opera 7.54)
But if you see a bug or two, don't hesitate to drop me a message
Last edited by bundyo on Tue Jan 03, 2006 4:18 pm, edited 1 time in total.
bundyo wrote:You should have a target to match against... Clicking on the Manual update isn't necessary, since it's updating automatically after you stop typing
LOL yeah apologies... see my edit in the last post
It's very cool, and it seems to work with a test regexes. Maybe like if d11 said it offered some kind of verbose output as to what the regex is doing that would be cool, or if it offered other debugging options while I'm writing a regex. It also took a minute to figure out your interface, I think I should be presented with a simple two textbox form "text to match against" and "regex" right away, then if I want I can switch to the tab with more options
bundyo wrote:I should warn the people that the modifiers are checked on the left and the regex should be typed without the enclosing /../
Guess i should write more help than i had ) and i had none on usage ))
I see.... clever stuff....
I'll have a good play with this and see if I find any bugs. For the fact that you don't put the delimiters on I'll assume it assumes /pattern/ and thus I must escape all forward slashes? Impressive if this works well.
This is very nice indeed.... I'm putting it through it's paces. It would certainly be a good learning tool for people who find regex hard to grasp and are impatient to figure it out. it's also damn good for when you need to write complex regex that take a lot of refining. The fact the the match updates on-the-fly is beautiful and the way it breaks down the output is great.
If I don't find any bugs in this within the next day or so of testing I'll add it to a "Useful Resources" page as a sticky in this forum along with some other useful sites
Btw, i know of a problem i have with the evaluator (even though it is quite useful without it, but it will good to have it) - i can't think of a way (for now) to show whitespaces properly in the output because html rendering strips them. I can replace them with -s but then i'll break the matching... even if it doesn't break i should watch out for the coloring tags and such which won't show correctly then.
Btw, i know of a problem i have with the evaluator (even though it is quite useful without it, but it will good to have it) - i can't think of a way (for now) to show whitespaces properly in the output because html rendering strips them. I can replace them with -s but then i'll break the matching... even if it doesn't break i should watch out for the coloring tags and such which won't show correctly then.