Contents tagged with Regex
-
New tool : RegexLibrarian
I've been subscribed to the GotDotNet User Samples feed for several weeks now and it's great because you get to see some really cool tools come in. I love playing with the new stuff and pulling the code apart to get inspiration for how to implement features on new projects.
-
New RegexSnippets release
I've finally finished testing some new features that I've added to RegexSnippets and, with the assistance of Chad Osgood who has given me a great deal of feedback regarding features and useability issues. Thanks Chad :-)
-
It's good to be efficient but it's better to be explicit
Recently, I've started using ExplicitCapture a lot more in my patterns. Explicit capture can be turned on via its RegexOptions.ExplicitCapture option or via the (?mode-mode) inline mode modifier - "m". One of the benefits of doing this is that "raw" parenthesis are not captured!
-
Neat, but probably inefficient example of conditional
Started messing around with conditional matching today and was rather proud of myself when I got this stuff to work.
-
More on Nested Constructs
I revisited the Jeff Friedl expression today ( Matching Nested Contructs ) and I'm really starting to scratch my head. Here's the pattern again:
-
Matching Nested Contructs
Correction: corrected my pattern so that it works :-) after I discovered that I hadn't escaped the symbols when I tested it on my new RegexSnippets testing tool (see below) :-)
-
Email validation - Part 1 : DEFINING A RECIPIENT
After stumbling across the RFC 2822 e-mail spec I thought that I'd take a shot at defining an e-mail address and along the way attempt to create a regex to validate it. I'll attempt it over the next week or so, so, bear with me:
-
A new Regular Expression article in the wind
I actually started putting pen-to-paper tonight for a new Regular Expression article that I've been meaning to write for some time. The goals of the article are to provide an explanation of each of the following items: