August 2009 Entries

Regular expression for inverting "let" statements.

This regular expression isn't  standard, it's Visual Studio syntax-specific, it should invert simple statements such as:

     Language.Text = record.Language;
into
     record.Language=            Language.Text ;


The expression itself is: ^{.+}={.+};