RegexBuddy 3.2.1
Posted on Wednesday, December 31 2008 @ 12:43 CET by Thomas De MaesschalckRegexBuddy is your perfect companion for working with regular expressions. Easily create regular expressions that match exactly what you want. Clearly understand complex regexes written by others. Quickly test any regex on sample strings and files, preventing mistakes on actual data. Debug without guesswork by stepping through the actual matching process. Use the regex with source code snippets automatically adjusted to the particulars of your programming language. Collect and document libraries of regular expressions for future reuse. GREP (search-and-replace) through files and folders. Integrate RegexBuddy with your favorite searching and editing tools for instant access.
Improvements:
- Create: Exporting to HTML no longer results in an HTML page with a needless scroll bar.
- Create: The fact that _ is an error in the .NET regex flavor is now indicated with a specific error message rather than a generic "invalid token" error message.
- Create: When flagging < and > in flavors that don't support these as word boundaries, indicate how to match them as a literal character in addition to saying such word boundaries aren't supported.
- Debug: The Debug tab now shows an explanation instead of only white space when the regex debugger hasn't been used yet.
- Library: Use the label the regex has in the History list as the default description when adding a regex to the Library.
- Portable installation: Lists of files previously opened files should survive changing drive letters.
- Use: When converting a regex to Perl, always escape $ signs in character classes to prevent unintended variable interpolation in Perl. Perl tries to be clever about interpreting $ signs in regular expressions. Depending on where a $ occurs, it will be treated as the start of a variable name, or as the regex anchor $. An escaped $ is always treated as a literal $. Therefore, RegexBuddy can't just escape all $ signs when formatting a regex as a Perl m// operator. Escaping $ signs in character classes when converting the regex to the Perl flavor works around this limitation.
Bug fixes:
- Copy: Basic-style strings missed the _ line continuator when RegexBuddy converted a multi-line free-spacing regular expression into a concatenation of multiple strings.
- Create: [}] is indicated as matching U+0000 rather than a literal }.
- Create: XML character class subtraction immediately after a hyphen was not handled correctly. The JGsoft flavor treats the first hyphen in [a--[x]] as a literal. The .NET and XML flavors treat the first hyphen as an error, because the range is incomplete.
- Debug: Clicking on the white space in the debug tab before actually debugging the regex caused a harmless access violation.
- Flavors: Backslashes were not properly treated as literal characters with the .NET and JavaScript replacement text flavors.
- Flavors: Python does not support