All WebSynaptics softwares incorporate a regular expressions manager/editor. This is the manual of this manager/editor.

The manager

The regular expressions manager helps you to manage your regular expressions lists.
Its relatively simple interface, consists of the following:
  • a toolbar (located at the top) giving you access to all functions of the manager;
  • a central view showing, orderly, regular expressions contained in the list (this view has a contextual  menu);
  • a status bar (located at the bottom) offering you the opportunity to change the view of central vision.

 


This manager allows you to:
  • add a new rule;
  • modify an existing rule;
  • delete a rule;
  • duplicate a rule;
  • change the list order;
  • enable or disable a rule.


The Manager displays different icons depending on the type or the state of the rules:

Icone d'état du site
This rule is a system rule necessary for the proper functioning of your software: you can not modify it and you can not change its position. You can not disable it.
Icone d'état du site
This rule is a generic rule wich is important for the functioning of your software but not required: you can not modify it but you can change its position and you can disable it.
Icone d'état du site
This rule is a user rule you've created, you can edit, delete, modify its position and disable it.
Icone d'état du site
This rule is a disable rule from any type.
Note that the order of rules has a fundamental importance: the rules are in effect applied first to last...

The editor

When you add a rule (INS key), duplicate a rule (CTRL+D) or change a rule (CTRL+INS or double-click), the editor window opens.
This window is divided into two tabs: 

The first of these tabs allows you to change the misc informations of the rule:

 



The second of these tabs provides access to the regular expression editor:

 

This editor presents you the regular expression (with syntax highlighting) and allows you to copy, cut, paste, undo, redo,... These operations are accessible from a toolbar at the top of the editor or via a contextula menu.

You will find in the WebSynaptics knowledge base an article (ref. [WS/SP/EN/REGEX]) describing the syntax of regular expressions used in our software.