Test Colors

Click the Test Colors button on the Editors page in the Preferences dialog to customize the color palette that RegexBuddy uses for highlighting matches and debugging steps on the Test and Debug panels.

Test Colors

Color Palettes

List of Individual Colors

The same palette is used by the Test and Debug panels because their functionality is related. If the Test panel is visible while the Debug panel has keyboard focus and is showing debugging steps then the Test panel highlights the part of the test subject that was matched by the debugging step that the cursor points to on the Debug panel. The Test panel uses the same debugger step colors as the Debug panel for this.

Most of the predefined palettes use the same colors for highlighting matches on the Test panel as for highlighting debugging steps on the Debug panel. But this is not a requirement. You can create a custom palette with entirely different colors for highlighting matches and debugging steps.

Example

You can switch between Test and Debug to see what the palette looks like on the Test panel and on the Debug panel. You can edit the text for the Test sample. It highlights the matches of the regex match(?: (?:one|two) (with capturing group))?. You cannot edit the Debug sample. It shows how the regex 12?3?4?(x|$) matches 1234.