Samples Colors

Click the Samples Colors button on the Editors page in the Preferences dialog to customize the color palette that RegexMagic uses for the results on the Samples panel.

Samples Colors

Color Palettes

List of Individual Colors

Example

The example demonstrates how the 10 field color highlight fields on the Samples panel. After generating a regular expression, text that was marked to be matched by a certain field that is actually matched by the part of the regex generated for that field is highlighted as "marked and matched", which uses the color you configured with an added underline. Text that was not marked but is matched by the part of the regex generated for a field is highlighted as "unmarked yet matched", which uses the color you configured. Text that was marked to be matched by a particular field but is not matched by the generated regular expression is highlighted as "marked but not matched", which uses a dimmer version of the color you configured by blending it with the plain text color. The "marked but not matched" color is also used to highlight marked fields before the regular expression is generated.

Not shown in the example is text that is marked to be matched by one field but actually matched by the part of the regex generated for another field. This is highlighted with the color you configured for the field that actually matched that part of the text but with an added strikeout.

Import and Export

RegexMagic 3 and RegexMagic 5 use the same color palettes for their Samples panels. You can export and import the palette for the Samples panel between these two products.