ShowUsYour<Blog>
Irregular expressions regularly
-
Redefining Boundaries - \b and \B
\b and \B are useful metacharacters; they provide a simple syntax to easily find items that exist around word boundaries (or, in the case of \B, non-word boundaries). For example, to find the word "per" you can wrap the actual text inside \b's to ensure that the phrase is not inadvertantly matched when found inside of "person" or "Supercalif", i.e.:
-
The amazing Javascript
... never ceases to amaze me!
-
Timer demo online
Just posted a working demo of the Timer control:
-
Timer source code available
As per my previous post, the source for MarkItUp.WebControls.Timer is now available:
-
MarkItUp.WebControls.Timer
I've finally finished my first server control that is targetted as a public release. The control is a Timer control that generates optional client-side events and performs a server postback after a specified duration.
-
RegexLib.com RSS feeds
As mentioned by Roy I've altered the main RegexLib.com Rss feed so that the feed title displays more useful information. I've also created a new feed to display the most recent comments that have been entered by users against patterns.
-
IFormatProvider whackiness
While visiting the Holy Place today I stopped in to visit some random links in the .NET Framework section (as you do). One of my mouse-clicks happened to land on the section which talks about FormatProvider's and illustrated the results that various format strings have on the output of ToString. Here's a demo that I think is particularly cool:
-
\G - match at the end of the previous match.
Over the next few days I'd like to spend a bit of time looking at using \G in the .NET "flavour" of regular expressions. I'd love to hear from anyone that has *had* to use \G in a real-world application (.NET only).
-
DaysOfTheWeek regex
Michael Ash has done some neat work on the DaysOfTheWeek regex:
-
A better design time experience
I'm sure that Andy Smith has probably trademarked the term "A better design time experience" but, anyways here goes...