Download the PDF - Support

Transcript
Chapter 2: Parsing
The example below shows the grammar without a user-defined RuleID.
%IgnoreCase;
%InputField("Name");
%OutputFields("FirstName", "LastName", "FirstName2", "LastName");
<root>=<FirstName><LastName> |
<FirstName> '&' <FirstName2> <LastName> ;
<FirstName>=@Table("Given Names");
<FirstName2>=@Table("Given Names");
<LastName>=@Table("Family Names");
The output of these rules would look similar to the following:
To use this command:
1.
2.
3.
4.
Position the cursor where you want the command inserted.
Double-click :RuleID in the Commands list.
Type an alphanumeric value in the text box.
Click OK.
<root> Variable
This command is required. If not specified, an error occurs.
Indicates the root variable. A root variable defines the sequence of tokens, or domain pattern, as rule
variables. Rule variables define the valid set of characters and the sequence in which those characters
can occur in order to be considered a member of a domain pattern.
Data Quality Guide
29