Randall A Sindlinger on 14 May 2008 12:51:08 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] regex question


There's also http://www.txt2re.com/

I haven't used it much, but it seems pretty nice.

-Randall


On Wed, May 14, 2008 at 11:37:12AM -0400, JP Vossen wrote:
> > Date: Tue, 13 May 2008 19:11:19 -0400
> > From: "John Sladek" <jsladek@comcast.net>
> > 
> > I'm new to regex and I am trying to use it with mod_rewrite.  There is tons 
> > of stuff out on the web but I figured someone here might be able to get this 
> > answered quicker than I can find it on my own.
> 
> I know you already figured out a solution, but as an FYI I am a big fan 
> of "The Regex Coach" at http://www.weitz.de/regex-coach/.  The latest 
> versions only run on Windows, but older versions run on Linux.  There 
> are also a few other similar tools you can Google for [1].
> 
> The tool gives you two panes, and you put a string target in one and a 
> Perl compatible regular expression (PCRE) in the other.  You then get 
> real-time feedback on whether the pattern matches, back references, a 
> stepping tool and more.  I do a lot of regexp at work and this is a 
> really great tool.
> 
> Also, O'Reilly's _Mastering Regular Expressions_ is *the* definitive 
> work on the subject and is an awesome book.  This is required reading if 
> you want to really learn regexps.
> 
> Having said all that, I'm not 100% sure of mod_rewrite uses PCRE or some 
> other flavor.  I suspect it's PCRE but can't swear to it.
> 
> _______________
> [1] Hum, just for fun I checked the Hardy repo and found these:
> 
> kodos - A visual regular expression editor
> kregexpeditor - graphical regular expression editor plugin for KDE
> redet - regular expression development and execution tool
> visual-regexp - Interactively debug regular expressions
> 
> Later,
> JP
> ----------------------------|:::======|-------------------------------
> JP Vossen, CISSP            |:::======|        jp{at}jpsdomain{dot}org
> My Account, My Opinions     |=========|      http://www.jpsdomain.org/
> ----------------------------|=========|-------------------------------
> "Microsoft Tax" = the additional hardware & yearly fees for the add-on
> software required to protect Windows from its own poorly designed and
> implemented self, while the overhead incidentally flattens Moore's Law.
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
> 

--===============1236313757==--

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug