RegexMagic Changelog

What's new in RegexMagic 2.13.1

Oct 16, 2023
  • Improvements:
  • Applications: .NET 7.
  • Applications: Boost 1.83.
  • Applications: Java 21.
  • Applications: Python 3.12.
  • Applications: Ruby 3.2.
  • Forum: Conversation and message lists now use the plain text color configured on the Use Colors page in the Preferences for consistency with the editor control for the body text of forum messages.
  • Bug fixes:
  • Right-clicking certain files that have a context menu handler in a common file dialog box (used by the various Open and Save As buttons) could crash RegexMagic; this did not affect any of RegexMagic’s own file types.

New in RegexMagic 2.13.0 (Dec 2, 2022)

  • New features:
  • Applications: Java 19.
  • Applications: Python 3.11.
  • Applications: R 4.2.1.
  • Pattern: VAT number: Northern Ireland.
  • Improvements:
  • Applications: .NET 7.0.
  • Applications: AceText 4.
  • Applications: Boost 1.80.
  • Applications: PCRE2 10.39.
  • Applications: PHP 8.1.12.
  • Applications: Visual C++ 2022.
  • Pattern: Literal text: Match any text except the specified text should generate a negated character class if the text consists of only a single character.
  • Bug fixes:
  • Assistant: Field icons no longer have extra space around them on high DPI systems.
  • Copy to JavaScript operator now generates the /s flag for the “dot matches line breaks” option.
  • Docs: Combining Patterns Using Multiple Fields example (SKU code example) needs to leave start/end regex match set to “anywhere” for step #12 to work as expected when the Generate button is active.
  • Use: Boost and std::regex source code templates had the variable name “subject” hard-coded in one line of code in the functions for iterating over all matches.
  • WINE: 64-bit version failed to start on WINE 7.0 (since 2.7.0).

New in RegexMagic 2.12.0 (Oct 25, 2021)

  • New features:
  • Applications: C++Builder 11 Alexandria.
  • Applications: Java 17.
  • Applications: JavaScript supports named capture (added in ECMAScript 2018).
  • Use: JavaScript function to get the match of a named capturing group.
  • Improvements:
  • Applications: Boost 1.77.
  • Applications: Delphi 11 Alexandria.
  • Applications: PCRE 8.45.
  • Applications: PCRE2 10.38.
  • Applications: PHP 8.0.11.
  • Applications: Python 3.10.
  • Applications: R 4.1.1.

New in RegexMagic 2.10.0 (May 27, 2020)

  • New features:
  • Applications: Boost 1.73.
  • Applications: Delphi 10.4 and C++Builder 10.4.
  • Applications: Java 14.
  • Applications: PCRE 8.44.
  • Applications: PCRE2 10.34.
  • Applications: PHP 7.4.6.
  • Applications: PowerShell -split operator.
  • Applications: R 4.0.0.
  • Applications: Ruby 2.7.

New in RegexMagic 2.9.0 (Nov 22, 2019)

  • New features:
  • Applications: Boost 1.71.
  • Applications: Delphi 10.3 and C++Builder 10.3.
  • Applications: Java 13.
  • Applications: PCRE 8.43.
  • Applications: PCRE2 10.33.
  • Applications: Perl 5.30.
  • Applications: PHP 7.3.11.
  • Applications: Python 3.8.
  • Applications: R 3.6.1.
  • Applications: Ruby 2.6.
  • Applications: Visual C++ 2019.
  • Examples: Real-world example to match Java-style comments.
  • Improvements:
  • Forum: Attachments can now be renamed while the message they are attached to has not been sent yet.
  • Bug fixes:
  • Help window no longer becomes unresponsive if RegexMagic shows a modal dialog box while the help window is already visible.
  • Patterns: Match anything with "matching anything except" set to "text matched by the next field" now knows that the option "dot matches line breaks" affects the regex generated by this pattern if the flavor does not support p{Any} or N to match any character or any character except line breaks.
  • This ensures that the option to make the dot match or not match line breaks is listed among the required options rather than the unused options if no other pattern is used that requires this option. It also ensures a more sensible default for this option, lessening the need to add a mode modifier to the regex.

New in RegexMagic 2.8.0 (Sep 12, 2018)

  • New features:
  • Applications: Boost 1.66–1.68.
  • Applications: Java 9 and 10.
  • Applications: PCRE2 10.30 and 10.31.
  • Applications: Perl 5.28.
  • Applications: PHP 7.2.x.
  • Applications: Python 3.7.
  • Applications: R 3.5.0–3.5.1.
  • Applications: XRegExp 4.

New in RegexMagic 2.7.3 (May 18, 2018)

  • Applications: .NET version number updated to 4.7.2 (no changes since .NET 2.0).
  • Applications: PCRE 8.42 (no changes since 8.40).
  • Applications: PHP version numbers updated through 7.1.17 (no changes to regex flavors).
  • Applications: R 3.4.4 (no changes since 3.1.3).
  • Windows 10: Installer now deals with Controlled Folder Access more efficiently when Windows Defender is operational and ignores it when Windows Defender is not operational, ensuring a smoother installation on Windows 10 1709 (Fall Creators Update) and 1803 (April 2018 Update).

New in RegexMagic 2.7.2 (Feb 19, 2018)

  • Improvements:
  • Applications: .NET version number updated to 4.7.1 (no changes since .NET 2.0).
  • Applications: PCRE 8.41 (no changes compared with 8.40).
  • Applications: PHP version numbers updated through 7.1.14 (no changes to regex flavors).
  • Applications: R 3.4.3 (no changes since 3.1.3).
  • Windows 10: Installer adds RegexMagic as an allowed application to Controlled Folder Access in Windows Defender in the Fall Creators Update.
  • Windows 10: Installer no longer complains that it can't create the desktop shortcut if that was blocked by Controlled Folder Access.
  • Bug fixes:
  • GREP: Grepping failed to start, showing an access violation error, if the regular expressions used a named backreference; RegexMagic generates this if you set "pattern to match field" to "text matched by another field" for one or more fields and your application supports named backreferences.
  • Layout: Dragging off the Library panel to make it a floating window and then restarting RegexMagic did not restore the Library panel in certain circumstances, leaving an empty floating window.
  • Layout: Switching to one of the two dual monitor layouts and restarting RegexMagic did not restore the panels on the second monitor, leaving an empty floating window on the second monitor.
  • Regex: Regular expressions longer than 64K characters were not always generated correctly.

New in RegexMagic 2.7.1 (Sep 22, 2017)

  • Improvements:
  • Applications: Boost 1.65 (same as 1.64).
  • Applications: PHP version numbers updated through 7.1.9 (no changes to regex flavors).
  • Applications: R 3.4.1 (no changes since 3.1.3).
  • Bug fix:
  • Samples: Matches of pattern fields that are alone inside a sequence field that is repeated were not highlighted correctly.

New in RegexMagic 2.7.0 (Jun 19, 2017)

  • Applications: Boost 1.64.
  • Applications: Delphi and C++Builder 10.2 Tokyo.
  • Applications: PCRE 8.40.
  • Applications: PCRE2 10.23.
  • Applications: Perl 5.24 and 5.26.
  • Applications: Python 3.6.
  • Applications: Ruby 2.4.
  • Applications: std::regex in Visual C++ 2017.
  • Help|News & Updates: New version announcements and other news about RegexMagic and optionally other Just Great Software products can now be shown automatically or upon request.

New in RegexMagic 2.6.0 (Feb 8, 2017)

  • New features:
  • Applications: boost::regex 1.38–1.39 & 1.42–1.62.
  • Improvements:
  • Applications: PHP version numbers updated through 7.0.13 (no changes to regex flavors).
  • Applications: R 3.3.2 (no changes compared with 3.3.1).
  • Toolbar icons are now doubled up in size on systems using 200% or more display scaling making the small icons suitable for 200% display scaling and the large ones for 300% scaling.
  • Windows 10: Mouse wheel scrolls the control pointed to by the mouse pointer instead of the control that has keyboard focus.
  • Bug fixes:
  • About box and trial version messages caused RegexMagic 2.4.0 and later to crash on Windows Vista 64-bit.
  • GREP: No error messages were added to the results for files that could not be overwritten during a search-and-replace that does not create backup copies (versions 2.0.0 through 2.5.1).
  • GREP: Undo and Delete Backup Files commands did not do anything other than falsely claiming that they did what they were supposed to do (versions 2.4.0 through 2.5.1 only).
  • Patterns: Match Anything: Can span across lines option did not take into account that some regular expression flavors that don't match line breaks with negated character classes when the dot does not match line breaks.

New in RegexMagic 2.5.1 (Sep 20, 2016)

  • Improvement:
  • GREP: PowerGREP button now launches PowerGREP 5 if available.
  • Bug fixes:
  • GREP: Opening all matched files in EditPad attempted to open the matched files as folders when the cursor did not point to a file on the GREP panel (2.5.0 only).
  • View: Turning on the Office 2003 style and closing RegexMagic caused the tick mark next to the Office 2003 menu item to be reversed next time you ran RegexMagic.

New in RegexMagic 2.5.0 (Aug 22, 2016)

  • NEW FEATURES:
  • Applications: Delphi and C++Builder 10.1 Berlin (no changes compared with 10 Seattle).
  • Applications: PCRE 8.39 (no changes compared with 8.37).
  • Applications: PCRE2 10.21–10.22.
  • Applications: PHP versions through 7.0.9.
  • Applications: PowerGREP 5.
  • Applications: R 3.3.1 (no changes compared with 3.2.2).
  • Applications: Ruby 2.3 (no changes compared with 2.2).
  • GREP: Clipboard contents can be grepped directly by setting the folder to clipboard: and leaving the file mask blank or setting the file mask to something that matches clipboard.txt.
  • IMPROVEMENTS:
  • GREP: Files larger than 2GB are now skipped with a clear error message indicating RegexMagic is limited to 2 GB files rather than finding incorrect or no matches.
  • Match: Assistant hints for Move Field Up and Move Field Down now indicate the changed field numbers after the swap if they are different when sequence or alternation fields are swapped.
  • Pattern: List of literal text pattern now generates a more optimal regex when all the items in the list start or end with the same characters.
  • Patterns: Credit card pattern now includes bin ranges 2221 through 2720 for MasterCard.
  • Patterns: URL and email patterns now allow top-level domains up to 63 characters (the maximum length technically possible) instead of up to 6 characters (the longest domain that actually existed until recently).
  • BUG FIXES:
  • Action: Moving fields on the Match panel did not always correctly adjust capturing groups to stay with the same field under its new number.
  • Opening a RegexMagic Formula by double-clicking it in Windows Explorer and then clicking the Save Formula button resulted in a Save As prompt instead of saving back to the file that was opened.
  • Samples: Loading a UTF-16 file as a sample and then marking text in it often caused the "literal bytes" instead of the "literal text" pattern to be detected.

New in RegexMagic 2.4.0 (Oct 21, 2015)

  • New features:
  • Applications: Microsoft Edge.
  • Applications: PCRE 10.20.
  • Applications: PHP versions through 5.6.14.
  • Applications: PowerShell operators as a separate application next to PowerShell, to better handle that PowerShell operators only allow case sensitivity to be controlled outside the regex and that they're case insensitive by default, unlike the Regex class in .NET.
  • Applications: Python 3.5.
  • Applications: R 3.2.2 (no changes to regex flavor).
  • Applications: std::regex in C++Builder 10 Seattle.
  • Applications: std::regex in Visual C++ 2015.
  • Applications: XRegExp 3.
  • Copy/Use: C++11 raw string literals.
  • Improvements:
  • GREP: Edit button's drop-down menu should list "open all matched files in EditPad" when the cursor does not point to a file but the GREP panel does show matched files.
  • Preferences|GREP: The option to hide (permanently exclude) hidden files and folders from the GREP panel no longer affects system files and folders, for which there is now a separate option.
  • Windows 10: New look for the menus and toolbars on Windows 10 to add a bit more contrast to RegexMagic's user interface.
  • Bug fixes:
  • GREP: Open matched files in EditPad does not open all matched files when EditPad is not yet running.
  • Samples: Clicking the Mark button without selecting any sample text had no effect (which is correct), but added a needless "undo marking field 0" to the undo history. The undo item had no effect when undone or redone.

New in RegexMagic 2.3.1 (Jun 30, 2015)

  • GREP feature was broken in 2.3.0.
  • GREP: If the regular expression contained a syntax error, attempting to grep with it would show a progress meter stuck at 0% in addition to the error message about the syntax error.

New in RegexMagic 2.3.0 (Jun 29, 2015)

  • New features:
  • Applications: Perl 5.22.
  • Applications: PHP versions through 5.6.10.
  • Applications: R 3.2.1 (no changes to regex flavor).
  • View|Custom Layouts.
  • Improvements:
  • Installer no longer asks to accept the license agreement if you already have RegexMagic 2.x.x installed.
  • Installer now puts a single shortcut directly in the Start menu which better fits the Start menu on Windows 10.
  • Regex: Modifiers button now adds modifiers for options that the regex requires to be at their defaults, in addition to options that the regex requires to be changed from their defaults.
  • Samples: The "show samples and/or action results" setting now preserves your choice even when there are no action results to be displayed; only samples will be displayed when no results are available; results will reappear immediately when they become available again.
  • Bug fixes:
  • Match: The "select field" drop-down list wasn't cleared immediately when deleting the last field.
  • Regex: Generate button could not be turned off if the formula resulted in a blank regular expression without any errors.
  • Samples: Clicking on a sample after loading a formula from a library marks the formula as modified, enabling the Save Formula button and triggering a prompt to save when loading another formula without having made any actual changes.
  • Samples: Turning off the Generate button now reverts the display to "samples only" instead of displaying an empty box for the action results.
  • Samples: Undoing changes to the sample text could lead to access violation or invalid pointer operation errors later on.
  • Use: Code snippets using multi-line string styles now look at the (?x) mode modifier at the start of the regex in addition to the free/exact spacing option outside the regex to determine whether indentation should be added to the string or not.
  • View|Dual Monitor: The floating window took up the size of the entire second monitor, which caused it to appear behind the taskbar if the taskbar was on that monitor.

New in RegexMagic 2.2.1 (May 8, 2015)

  • Improvements:
  • Applications: .NET version number updated to 4.6 (no changes since 2.0).
  • Applications: PCRE version number updated to 8.37 (no changes to regex flavor).
  • Applications: PHP version numbers updated through 5.6.8 (no changes to regex flavors).
  • Applications: R version number updated to 3.2.0 (no changes to regex flavor).
  • Applications: Visual Studio IDE version number updated to 2015 (no changes since 2012).
  • Bug fixes:
  • 64-bit build crashed on startup when the AllocationPreference registry key forces memory to be allocated from the top down.
  • Windows 8 and 8.1: The edges of the panels on the main window are now gray like they are on previous versions of Windows, instead of blue.

New in RegexMagic 2.2.0 (Apr 9, 2015)

  • New features:
  • Applications: PCRE 8.36.
  • Applications: PCRE2 10.00 and 10.10.
  • Applications: R 3.1.3.
  • Applications: Ruby 2.2.
  • Improvements:
  • Applications: Delphi and C++Builder version numbers updated to XE8 (no changes compared with XE7).
  • Applications: PHP version numbers updated through 5.6.7 (no changes to regex flavors).
  • Bug fixes:
  • Action: Setting "how to replace" to "enter a replacement with backreferences" and leaving "replacement text" blank triggered an access violation error when generating the regular expression.
  • Samples: Selecting text that looks like a hexadecimal number without the suffix H and clicking the Mark button triggered an access violation error.

New in RegexMagic 2.1.1 (Dec 12, 2014)

  • Improvements:
  • Integration: Alt+D keyboard shortcut for the Send button when RegexMagic is invoked from another application.
  • Bug fixes:
  • Copy/Use: Regular expressions and replacement strings that did not contain backslashes or line breaks were not correctly formatted as C# strings (2.1.0 only).
  • Patterns: Date and Time: Right-clicking the editor for the allowed date and time formats triggered an access violation instead of showing the context menu.
  • Patterns: Match anything: If the pattern was set to not match characters from the next field, then the next field cannot use the "match anything" pattern. RegexMagic now handles this with a clear error message when generating the regular expression, instead of failing to generate the regex with an access violation error.

New in RegexMagic 2.1.0 (Oct 7, 2014)

  • New features:
  • Applications: Delphi and C++Builder XE7.
  • Applications: Perl 5.20.
  • Applications: Visual C++ and C++Builder (Win64) using std::regex.
  • Improvements:
  • Applications: Opera applications now use Chrome flavors as Opera is now based on the WebKit engine used by Chrome meaning the two now have identical regex flavors; Opera flavors have been removed.
  • Applications: PHP version numbers updated through 5.6.1 (no changes to regex flavors).
  • Applications: R version number updated to 3.1.1 (no changes to regex flavor).
  • Copy/Use: C L"" string which supports \uFFFF escapes.
  • Copy/Use: C string now supports \xFF escapes.
  • Regex: If the regex needs to match any character, including or excluding line breaks, RegexMagic now prefers generating \p{Any} or \N when supported by the application instead of the dot to make the regex less dependent on the option "dot matches line breaks".
  • Bug fix:
  • Match: Clicking disabled field buttons sometimes triggered access violation errors instead of doing nothing.

New in RegexMagic 2.0.4 (Jul 7, 2014)

  • Bug fixes:
  • Action: "Split subject along regex" had RegexMagic complain about the "include capturing groups" checkbox regardless of its state when generating a regex for Delphi (TRegEx) or C++Builder (TRegEx). TRegEx is unique in that it always adds the match of the highest-numbered participating capturing group to the split array. Telling RegexMagic to ignore the "include capturing groups" setting did allow the regex to be generated correctly.
  • Match: Blocks of text containing tabs or line breaks but no other control characters were detected by the literal bytes pattern instead of the literal text pattern.

New in RegexMagic 2.0.3 (Jun 12, 2014)

  • Bug fixes:
  • API: Sending a regex without a replacement text back to the application that invoked RegexMagic sometimes caused that application to receive garbage as the replacement text instead of a blank replacement text.
  • Preferences, Operation: Turning off the option to preserve the formula caused RegexMagic to start with a blank application drop-down list on the Regex panel.

New in RegexMagic 2.0.2 (Jun 12, 2014)

  • Improvement:
  • Patterns: List of literal text: If multiple items start with the same substring of 3 or more characters then that substring is now placed outside of the alternation, resulting in a shorter regular expression.
  • Bug fixes:
  • Patterns: Integer: Limiting the integer to specific ranges and using only the "decimal 987" format did not group the pattern's alternatives in the regular expression.
  • Samples: Items in the drop-down menu under the Open button did nothing.

New in RegexMagic 2.0.1 (Jun 12, 2014)

  • Bug fixes:
  • Pattern: Integer ranges: If "limit the integers to these ranges" was turned off then generating the regex failed with an access violation error in the 64-bit version of RegexMagic.
  • Preferences, Editors: Changes made after clicking the Configure Text Layouts button did not stick.
  • Preferences, Regex Colors: Customizing colors other than plain text and selected text did not have any effect on the Regex panel.
  • Preferences, Regex Colors: Regex options and regex comparison colors could not be customized.
  • Preferences: Color buttons did not always indicate the correct color when selecting "Default".
  • Samples: Adding a field on the Match panel (so you get a field with no marked samples) and then clicking that field's numbered button on the Samples panel while no text is selected (so there's nothing to mark) triggered a harmless list index out of bounds error.

New in RegexMagic 2.0.0 (Jun 12, 2014)

  • New features:
  • Action: Delete All Capturing Groups button.
  • Action: Split subject along regex action now has an option whether or not empty strings may be added to the array.
  • Action: Split subject along regex action now has an option whether or not matches from capturing groups should be added to the array.
  • Action: Split subject along regex action now has an options to limit the number of strings in the resulting array.
  • API: CheckVersion() can now be used to query the active RegexMagic version more specifically so that RegexMagic and the client application can determine the set of flavors that both support, as new flavors may be added in free minor updates that do not otherwise change the API.
  • Editor: Proper editing of text and regular expressions using complex scripts and right-to-left scripts.
  • Flavors: ASP.NET.
  • Flavors: Delphi 2007 (and prior) till Delphi XE6 using the TRegEx and TPerlRegEx classes.
  • Flavors: Flavors are now selected as applications, which are a combination of regex flavor, replacement flavor, split flavor, string style, and source code template.
  • Flavors: HTML5 pattern.
  • Like JavaScript, but with implied anchors.
  • Flavors: JavaScript + XRegExp.
  • Flavors: Separate flavors for Oracle 10gR1 and 10gR2 (and later), which differ from each other and from POSIX ERE (which RegexMagic 1 used for Oracle).
  • Flavors: Visual Studio 2012 IDE.
  • This is the .NET 2.0–4.5 flavor but with "case sensitive" as the only option and "case insensitive" as the default.
  • Formula: Open and save formulas to individual files.
  • GREP: Option to disable searching through binary files.
  • Match: Button to move fields up and down to change their order within a sequence or alternation.
  • Match: Buttons to move a field that precedes or follows a sequence into that sequence. That way, sequences can be easily created after the fields are marked already.
  • Match: Delete All Fields.
  • Match: Start of match attempt option for "begin regex match at".
  • Pattern: Control characters.
  • Pattern: List of literal text: Option to match any text except the specified literals.
  • Pattern: Literal bytes: Match a specific block of binary data.
  • Pattern: Literal text: Option to match any text except the specified literal.
  • Pattern: Match anything except the next field.
  • Forces the field with the anything pattern to use a lazy quantifier, and requires the field to be in sequence with the next field.
  • Generates an atomic group containing the anything field and the next field.
  • Preferences, GREP: Configure which files, if any, are permanently excluded from GREP. By default, files that look like backup files or working copies are excluded.
  • Preferences, GREP: Option to grep hidden and system files.
  • Preferences|Editors: Ctrl+Wheel changes font size instead of scrolling one page.
  • Regex: Compare applications to verify that RegexMagic generates the same regex for all selected applications and that this regex finds the exact same matches on the Samples panel for all these applications.
  • Samples: Hexadecimal mode.
  • Samples: Show results when "action to take" is set to "split subject along regex" on the Action panel.
  • Undo and redo for formulas. One combined undo/redo list for the Samples, Match, and Action panels.
  • Use: Oracle 11g source code templates.
  • Use: pcre16 and pcre32 source code templates.
  • Use: POSIX source code snippets.
  • Use: XRegExp source code snippets.
  • Improvements:
  • Copy/Use: Python strings are no longer prefixed with "u" when they contain Unicode escapes unless the active regex flavor is Python 2 as strings are Unicode by default in Python 3.
  • Copying the regular expression, replacement text, test subject, or source code snippet now places rich text onto the clipboard which preserves syntax highlighting when pasted into a word processor or rich text editor.
  • Flavors: Browser-specific JavaScript flavors.
  • Flavors: Ruby 2.x (Onigmo) and Ruby 1.9 (Oniguruma) as a separate flavors from Ruby 1.8 (classic engine targeted by RegexMagic 1).
  • Flavors: Separate flavors for .NET 1.1 (covering .NET 1.0 and 1.1) and .NET 2.0 (covering .NET 2.0, 3.0, 3.5, 4.0, and 4.5).
  • Flavors: Separate flavors for all versions of PCRE from PCRE 4.0 until PCRE 8.35.
  • Flavors: Separate flavors for all versions of PHP from PHP 4.3.3 until PHP 5.5.11.
  • Flavors: Separate flavors for all versions of Python from 2.4 to 3.4.
  • Flavors: Separate flavors for Java 4, Java 5, Java 6, Java 7, and Java 8.
  • Flavors: Separate flavors for Perl 5.8, Perl 5.10, Perl 5.12, Perl 5.14/5.16, and Perl 5.18.
  • Flavors: Separate flavors for R 2.14.0–2.14.1, R 2.14.2, and R 2.15.0–3.1.0.
  • Flavors: Separate flavors for Tcl 8.4/8.5 and Tcl 8.6.
  • Flavors: Separate Tcl BRE and Tcl ERE flavors to handle (?b) and (?e) in Tcl regular expressions, which are slightly different from the POSIX BRE and POSIX ERE flavors (which RegexBuddy 3 used for (?b) and (?e) in Tcl).
  • Formula: Closing RegexMagic with the option to preserve the formula disabled now asks whether you want to save the formula if it has unsaved changes.
  • Formula: Loading a formula from a library or a file now asks whether you want to save the previous formula if it has unsaved changes.
  • Forum: HTTP proxy server support extended with more authentication methods.
  • Forum: SOCKS proxy server support.
  • Forum: The button to delete messages is now labeled Cancel for messages that are being edited, to make it more obvious that this button deletes the edited message, but leaves the original message in place.
  • GREP: Respect the "^ and $ match at line breaks" option as generated by RegexMagic on the Regex panel when the "line-based" option is off on the GREP panel, instead of always matching ^ and $ at line breaks like PowerGREP does.
  • Match: Buttons to add and delete fields now show field numbers to make it easier to spot exactly where a field will be added or which field will be deleted.
  • Pattern: List of literal text: Optimize the generated regex by combining items that differ in only one character.
  • Pattern: Masks: If one mask allows all the strings of another mask, generate only the first mask.
  • Pattern: Masks: Optimize the generated regex by combining masks when one mask is the start of another longer mask.
  • Pattern: Number: Minimum and maximum numbers beyond 2 billion.
  • Regex: Options are now indicated with positive labels (e.g. "case sensitive" and "case insensitive") rather than checkboxes (e.g. "case insensitive off" and "case insensitive on") to avoid potentially confusing double negations.
  • Regex: Options that actually affect the regular expression are now indicated separately from options that do not affect the regular expression.
  • Samples: Keyboard shortcuts for marking samples.
  • Samples: Line break symbols (if enabled in the Preferences) indicate the actual line break style instead of showing a generic paragraph marker and are highlighted when part of a field or a regex match.
  • Unicode: RegexMagic is now a full Unicode application, so Unicode characters can be used anywhere, rather than just on the Samples panel.
  • Use: Python 2.7 and 3.1+ templates that use the flags parameter instead of embedding mode modifiers for re.sub() and re.split().
  • Use: Template editor now asks whether you want to save the template if it has unsaved changes when you close the editor.
  • Use: Template editor now highlights placeholders which keeps things readable in languages that treat % as an operator.
  • Use: XPath code snippets now have a parameter for the quote so you can choose between single or double quotes instead of having hard-coded double quotes.
  • Vista, 7 & 8: RegexMagic now scales itself instead of letting Windows handle the scaling when the font size in Windows has been increased by more than 125% (i.e. the display resolution is more than 120 DPI) resulting in a much crisper appearance of RegexMagic.

New in RegexMagic 1.4.0 (Jan 8, 2014)

  • Improvements:
  • Pattern: Country: Updated list of countries to the latest ISO 3166; added new members to EU and OECD lists.
  • Pattern: Currency codes: added new codes SSP and ZMW and missing codes BRZ, CLE, SDP, and UYI.
  • Pattern: Currency codes: EEK, ZMK, and ZWL are now obsolete.
  • Pattern: VAT numbers for Croatia and new VAT number format for Ireland.
  • Bug fixes:
  • Pattern: Basic Characters: "Match all characters except the selected ones" was not preserved when adding the formula to a library.
  • Pattern: Credit card number: Regex to match American Express card numbers was not generated correctly in strict or average validation mode.
  • Pattern: National ID: Some valid national IDs were not matched when "field validation mode" was set to "loose" or "none".
  • Pattern: Number: Setting "minimum value of integer part" to -2147483648 and turning on "limit integer part" and setting "field validation mode" to "strict" caused random characters to appear in the regex (-2147483648 is a valid signed 32-bit integer but Abs(-2147483648) cannot be represented as a signed 32-bit integer).
  • Pattern: Numbers: Exponent portion of the regex was generated twice when "field validation mode" was set to "loose".
  • Pattern: Regular Expression: Generating the regex after loading a RegexMagic Formula that uses the "regular expression" RegexMagic pattern with a regex that contains alternation did not put the regex from the pattern inside a non-capturing group in the generated regex until you either edited the regex or toggled the "^$ match at line breaks" option.
  • Pattern: Unicode Characters: "Match all characters except the selected ones" was not preserved when adding the formula to a library.
  • Pattern: URLs: Removed the "extract parameters" choice from the "parameters" option as this was never actually implemented.

New in RegexMagic 1.3.2 (Jan 8, 2014)

  • Bug fixes:
  • Copy/Use: Backslashes were escaped when copying a regex as a Groovy slashy string.
  • Copy/Use: Dollar signs were not escaped when copying a regex or replacement text as a double-quoted Groovy string; now RegexMagic only copies single-quoted Groovy strings.
  • Copy/Use: Regular expressions and replacement texts ending with a $ were not correctly formatted as dollar-quoted PostgreSQL strings.
  • Forum continued to use the old proxy settings until you restarted RegexMagic if you changed the proxy settings after having successfully connected to the forum.
  • GREP: Browsing for a folder did not update the folder view if folders were added or deleted since the last time you browsed for a folder.
  • Integration: /putonclipboard command line parameter caused the Send button to clear the clipboard without putting the regex on the clipboard.
  • Pattern: VAT number: In strict validation mode, the regexes generated for VAT numbers from Cyprus and Ireland were incorrect.
  • Use: R code snippets did not work with R 2.11.0 and later because the "extended" parameter was removed in R 2.11.0. RegexBuddy's code snippets for R now explicitly name the parameters, so they'll work with all versions of R.

New in RegexMagic 1.3.1 (Jan 8, 2014)

  • Bug fixes:
  • Pattern: List of literal text: Items with starting characters that differed only in case were combined only when the "case insensitive" option was off; they should be combined only when "case sensitive" is on.
  • Samples: Highlighting of search matches did not work correctly with regexes generated from a single field with a pattern that uses alternation (such as the list of literal text field). Only matches found by the last alternative in the generated regex were highlighted.
  • Use: Visual Basic.NET code snippets using free-spacing regular expressions that span across lines did not have the necessary line continuation characters before and after the regex.

New in RegexMagic 1.3.0 (Jan 8, 2014)

  • Improvements:
  • Pattern: Unicode characters: Do not generate a character class if only a single character or Unicode category is generated.
  • Windows 8: Uninstall shortcut is no longer pinned to the start screen by the installer (but it won't unpin any shortcuts that were previously pinned).
  • Bug fixes:
  • Match: The "as few times as possible" option causes an access violation when generating the regex for the POSIX, GNU, or XML Schema flavors, instead of showing a friendly message that these flavors do not support lazy quantifiers.
  • Pattern: Basic characters: If the punctuation option was selected and the target flavor supports [[:punct:]] or \p{Punct} and the character class included a range such as a-z, then [:punct:] or \p{Punct} was inserted at the wrong position, resulting in an invalid regular expression.
  • Pattern: Date and time: Automatically detected date and time formats are not optimal. 6.99 or $6.99 should be detected as a number rather than a date. Duplicate date and time formats should be eliminated. 03/28/12 should be detected as m/d/y instead of m/d/m. 11:23:16 should be detected as H:n:s instead of h:H:H. 11:23:16 AM should be detected as h:n:s a instead of h:H:H a. 10:39:00 should be detected as h:n:s instead of h:n:00. Thu Mar 29 10:38:10 should be detected as D m d H:n:s.
  • Regex: RegexMagic becomes unresponsive when generating a very long regex with lots of alternation in groups.
  • Windows 8: Toolbar combo boxes did not properly display their drop-down arrows.

New in RegexMagic 1.2.5 (Mar 23, 2012)

  • Bug fixes:
  • Match and Action panels did not always rearrange their contents correctly when the panels or RegexMagic itself were resized.
  • Pattern: Regex: Toggling "^$ match at line breaks" did not have any effect until you edited the regular expression.

New in RegexMagic 1.2.4 (Mar 23, 2012)

  • Improvements:
  • Installer: Create portable installation without admin rights.
  • Pattern: National ID: US social security numbers now allow the full ranges 7xx and 8xx as the first 3 digits.
  • Bug fixes:
  • Copy/Use: The regex \\n (literal backslash and literal n) was not converted properly when coping C-style or Java strings or generating C or Java code snippets.
  • Pattern: Integer: Repeating a field that uses the Integer pattern without limiting the pattern to certain ranges and selecting a single integer format that does not use a format specifier resulted in invalid regular expressions.
  • Pattern: Text matched by other field: The drop-down list to select the other field did not list pattern fields that were nested inside the same alternation or sequence field as the field using the "text matched by other field" pattern.
  • Pattern: URL: Unnecessary opening parentheses were generated, causing the regex to be broken, when setting "file names" to "specific file names only" or to "specific extensions only".

New in RegexMagic 1.2.3 (Jun 22, 2011)

  • Create Portable Installation item in the Help menu was broken in 1.2.2.

New in RegexMagic 1.2.1 (Mar 29, 2011)

  • Improvement:
  • Library: Save dialog now defaults to "My Documents" instead of "Program Files" when trying to save a copy of the library that ships with RegexMagic.
  • Bug fix:
  • Pattern: Marking a number should auto-detect the "integer" pattern rather than the "IPv4" pattern.

New in RegexMagic 1.2.0 (Mar 29, 2011)

  • New features:
  • Pattern: GUID.
  • Pattern: IPv4 address.
  • Pattern: States and provinces.
  • Pattern: Match anything pattern now has an option to indicate if it can span across lines or not.
  • Improvements:
  • Pattern: Integer: A single hexadecimal digit in the range 8-B, 8-A, 9-B, or 9-A is now matched with [89ab], [89a], [9ab], or [9a] instead of [8-9a-b], [8-9a-a], [9-9a-b], or [9-9a-a]. The old character classes worked correctly, but the needless ranges make the regex harder to read than it needs to be.
  • Pattern: Integer: You can now specify multiple ranges of numbers for the pattern to match, rather than just one minimum and maximum.
  • Bug fixes:
  • Pattern: URL pattern generated a regex that did not allow URLs to end with a trailing / when the field validation mode was set to average or strict.
  • Samples: Selecting text that looks like an integer number larger than 2^32 and clicking the Mark button triggered an "is not a valid integer value" exception, causing RegexMagic to fail to detect a pattern for the marked field.

New in RegexMagic 1.1.0 (Mar 29, 2011)

  • New features:
  • Pattern: Basic characters and Unicode characters now have an option to match all characters except those specified, instead of only those specified.
  • Pattern: Country: Match ISO 3166 country codes and/or names.
  • Pattern: Currency: Match ISO 4217 currency codes.
  • Use: C++Builder XE using the new RegularExpressions and RegularExpressionsCore units.
  • Use: Delphi XE using the new RegularExpressions and RegularExpressionsCore units.
  • Improvement:
  • Copy/Use: Visual Basic strings now use named constants such as vbCrLf instead of chr(13) & chr(10) for non-printable characters for which such constants exist.
  • Bug fixes:
  • Pattern: Integer pattern no longer generates redundant alternatives such as [0-9]+|[0-1]+ when selecting multiple integer formats without prefix or suffix.
  • Pattern: Putting a field using the "match anything" pattern immediately before a field using the "date and time" pattern with the option "match anything except" set to anything except "nothing" caused an access violation error when trying to generate the regular expression.
  • Use: String literal with regex tree added an erroneous | at the start of a group such as (a|b)+ that contains alternation and has a quantifier.
  • Use: VB 6 and VBscript functions for iterating over all matches did not set the myRegExp.Global = True which is required to be able to find more than one match.

New in RegexMagic 1.0.6 (Mar 29, 2011)

  • Improvements:
  • Pattern: Date and time: Improved auto-detection of date and time patterns.
  • GREP: Portable installations of RegexMagic now detect portable installs of PowerGREP on the same device if installed into the default folder.
  • GREP: PowerGREP button now launches PowerGREP 4 if available.
  • Bug fixes:
  • Pattern: Date and time: Marking more than one example for the same field sometimes caused RegexMagic to lock up if two different date and time patterns were detected.
  • Forum: Clicking on a header in the list of conversations or messages before connecting to the forum caused a harmless access violation error.
  • Forum: Proxy settings were not saved automatically.

New in RegexMagic 1.0.5 (Feb 12, 2010)

  • This release fixes one bug that we missed in version 1.0.4. Loading a formula from a library did not properly update the Match panel, causing access violation errors if you tried to access something on the Match panel

New in RegexMagic 1.0.4 (Feb 12, 2010)

  • New features:
  • Assistant: Follow Mouse item in the context menu that toggles whether the assistant displays the hint for the control the mouse is pointing or the control that has keyboard focus. When the mouse is over the assistant, it always displays the control that has keyboard focus.
  • Assistant: Select Font item in the context menu to select the font used to display the assistant's hints.
  • Bug fixes:
  • Action: Replacing a field that is also part of a capturing group no longer results in auto-generated capturing groups that conflict with the existing capturing group.
  • Library: If a library was already loaded, starting with a blank library and adding a formula sometimes caused RegexMagic to get stuck on access violation errors.
  • Match: If the contents of the Match panel were scrolled down, the contents of the Match panel were rearranged incorrectly when making a change such as selecting a different pattern for a field.
  • Menu and toolbar icons were gray or black squares on Windows 98, ME, and 2000.
  • Pattern: Regex: Backreferences in the regex were not updated if the capturing group numbers shifted due to capturing groups generated for earlier fields in the formula.
  • Pattern: Regex: Capturing groups in the regex were not taken into account when determining the backreferences for capturing groups defined on the Action panel.
  • Pattern: Regex: Repeating a field that uses the "regular expression" RegexMagic pattern did not properly group the pattern's regular expression to repeat it as a whole.

New in RegexMagic 1.0.3 (Feb 12, 2010)

  • Improvements:
  • Forum: Attaching formulas now uses the caption of the first sample as the default file name, allowing multiple formula attachments to be differentiated.
  • Forum: Pressing Ctrl+C while the focus is on the list of conversations or the list of messages copies the URL of the selected conversation or message.
  • Forum: regexmagic:forum and regexbuddy:forum URLs are now highlighted in the body text of forum messages allowing links to other messages to be included. Double-clicking them opens the message in RegexMagic or RegexBuddy.
  • Match: The contents of the Match panel can now be scrolled with the mouse wheel after clicking on some blank space on the panel.
  • Match: The list of fields can be scrolled with the mouse wheel after clicking on some blank space on the "fields in the regular expression" group or the scrollbar for the fields.
  • Pattern: Date and time: Auto-detect 20090602T170000Z.
  • Pattern: Date and time: When forcing date/time detection, detect numbers such as 20090112 as date patterns.
  • Regex: Repeating a field with a literal text pattern that consists of a single character no longer puts a needless group around that character.
  • Bug fix:
  • Pattern: Basic characters: The "line breaks" checkbox did not update itself correctly when selecting a different field or a different pattern.

New in RegexMagic 1.0.2 (Feb 12, 2010)

  • Dual monitor layouts should be disabled when there's only one monitor.
  • Pattern: Date and time: Marking text consisting only of punctuation commonly used as date or time separators caused RegexMagic to auto-detect the date and time pattern.
  • Regex: Date and time patterns using whitespace did not correctly generate the regex for Java in free-spacing mode.
  • Template Editor: Downloading syntax coloring schemes via the template editor did not work.

New in RegexMagic 1.0.1 (Feb 12, 2010)

  • Bug fix: When Unmarking fields on the Samples panel deleted the field of which the Match panel was showing the pattern, that deleted pattern would remain visible, causing access violation errors if you tried to edit the pattern.