Archives

Archives / 2003 / May
  • ResourceLinks.xml

    Here's a copy of my current "Resources" file for RegexSnippets.  It contains many more links than the online version.
    To use it simply replace your current Resources data file located at:
        \MyDocuments\RegexSnippets\ResourceLinks.xml

    <?xml version="1.0" encoding="utf-8" ?>
    <Links>
        <Categories>
            <Category name="Sites">
                <Link name="BCL documentation" url="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemTextRegularExpressions.asp?frame=true" description="Documentation for System.Text.RegularExpressions" />
                <Link name=".NET Regex documentation" url="http://msdn.microsoft.com/library/en-us/cpguide/html/cpconcomregularexpressions.asp?frame=true" description="The offical .NET Framework regex help documentation." />
                <Link name="VBScript documentation" url="http://msdn.microsoft.com/library/en-us/script56/html/jsgrpRegExpSyntax.asp?frame=true" description="VBScript documentation" />
                <Link name="JScript documentation" url="http://msdn.microsoft.com/library/en-us/script56/html/js56jsgrpregexpsyntax.asp?frame=true" description="JScript documentation" />
                <Link name="RegExLib.com" url="http://www.regexlib.com" description="Useful repository of regular expressions." />
                <Link name="Grouping Constructs" url="http://msdn.microsoft.com/library/en-us/cpgenref/html/cpcongroupingconstructs.asp" description="Grouping constructs allow you to capture groups of subexpressions and to increase the efficiency of regular expressions with noncapturing lookahead and lookbehind modifiers." />
            </Category>
            <Category name="Tools">
                <Link name="Regex Snippets" url="http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=43d952b8-afc6-491b-8a5f-01ebd32f2a6c" description="Tool developed by Darren Neimke.  Features the ability to save favourite regex patterns." />
                <Link name="Eric Gunnerson's Regex Workbench" url="http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=c712f2df-b026-4d58-8961-4ee2729d7322" description="Eric Gunnerson's Regex Workbench" />
                <Link name="Sellsbrothers - Regex Designer .NET" url="http://www.sellsbrothers.com/tools/" description="Sellsbrothers - Regex Designer .NET" />
                <Link name="Expresso" url="http://www.codeproject.com/dotnet/Expresso.asp" description="For learning, building, and debugging .NET Framework regular expressions." />
                <Link name="RegexDebugger.NET" url="http://www.net-developer.info/products/" description="The utility was written to help you to understand syntax of regular expressions and to debug them in the easiest way." />
                <Link name="Regular Expression Lab" url="http://www.geocities.com/udeleng/regex.htm" description="Enjoy this client-side DHTML tool for testing regular expressions using the Javascript, VBScript, and PerlScript Engines." />
            </Category>
            <Category name="Articles and Books">
                <Link name="Understanding Regular Expressions" url="http://www.foo.be/docs/tpj/issues/vol1_2/tpj0102-0006.html" description="Jeffrey Friedl's classic article.. start here!" />
                <Link name="Mastering Regular Expressions (2nd edition)" url="http://www.amazon.com/exec/obidos/redirect?tag=forestlakewebser&amp;path=ASIN/0596002890" description="Jeffrey Friedl's latest book.  Very comprehensive, a must have." />
                <Link name="ASP.NET.4GuysFromRolla.com: Regular Expressions in .NET" url="http://aspnet.4guysfromrolla.com/articles/022603-1.aspx" description="An introduction to regular expressions in the .NET Framework." />
            </Category>
            <Category name="Forums and Lists">
                <Link name="DotNetRegex" url="http://groups.yahoo.com/group/dotnetregex/" description="DotNetRegex" />
                <Link name="ASPAlliance Lists" url="http://aspalliance.com/lists/" description="ASPAlliance Lists" />
                <Link name="ASPMessageboard - Regular Expressions" url="http://www.aspmessageboard.com/forum/regularExpressions.asp" description="ASPMessageboard - Regular Expressions" />
            </Category>
        </Categories>
    </Links> 

  • completely O.T.

    Just logged in to Msn and noticed that one of my buddies has changed their name to:

  • 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 :-)

  • Man stalked by giant mouse!!!

    Thanks so much to George from the Microsoft Windows Group who, after reading my blog entry the other day, e-mailed me and kindly offered to show me the RedWest part of the campus. That part of the campus is located across the highway from the main part of Microsoft Campus but, it's well worth the look and has an amazing "Ski Lodge" style cafeteria.

  • Goodbye Microsoft

    I feel as though I could write forever about my trip to the Microsoft campus and, as I sit here by the water fountain next to the cafeteria (by building 5) I kind of hope that some of this experience stays with me forever.  It's not just the great people that I've met on this trip but the very place (campus) itself that leaves you with the belief that anything is possible.

  • Dear diary, today James Avery did something cool...

    Just in case I hadn't mentioned it previously ;-)... I'm in Redmond this week getting a look at some new ASP.NET bits.  In a nutshell, the stuff that I've seen has not only blown me away but will likely answer most of the issues being faced when building current, real world apps today.  Over the 2 days that we've been here the MS guys'n'gals have been demonstrating and explaining the bits to us and, I can safely say that they are just as excited by this stuff as we are.

  • My Yukon gut feeling

    Tonight we went to dinner and I managed to sit next to one of the guys on the Data team.  That is the team that are working with the Yukon guys to ensure things work nicely.  It was great to hear parts of the Yukon story first hand given that there's been so much hype and (mis-)information about it.  In short, even though I think that Yukon *could* totally change your life, I really think that - in the majority of cases - the database will be used in pretty much exactly the same manner as it is today.  In fact, I'll bet that , if you see a lot of CLR code showing up in your database, you're probably working too hard.  But, it will sure be interesting to see what happens there.

  • Customize/Personalize Office

    This week I'm spending time at Microsoft campus getting a heads-up on the future direction of ASP.NET.  This is exciting to me for so many reasons, and I've long envisaged coming here for myself to see:- The Microsoft Machine!

  • Post #100

    My how time flies when you're blogging... 100 posts already :-)  If 1 human year == 7 Internet years (or whatever the equation is), I'm guessing that 1 Internet year ~= 7 Blogging years :-)

  • 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!

  • 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) :-)

  • A new feature for RegexSnippets

    I noticed that several people on the regex lists post working snippets with their regex's to demonstrate how the pattern is used in code - and to prove that it works ;-), so, I decided to add another form to RegexSnippets that will allow you to enter code and compile+execute it on the fly.  By using this feature a user can test the pattern in the tool, then bring up the new form, write a harness module and compile it in the tool before adding it to their post.  Here's a picture of my progress to date:

  • George Bush - He bugs Gore

    I saw a couple of posts this morning that caught my interest - because they mentioned regex :-) - that mentioned something about checking for anagrams.  I might be taking this completely out of context, but, it got my fingers clicking and trying to work out an algorithm to check for an anagram.  Here's a quick, first-cut that looks like it might do the trick...