This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help

Next Topic

Book Contents

Book Index

Component properties dialog

The component properties dialog is used to create components to use in patterns. Components are essentially patterns that can only be used within the parent pattern. They allow you to specify repeats of groups of characters, and to identify elements within a pattern match.

For general reference information on patterns dialog, see Patterns overview.

For information on how to use patterns, see Introduction to patterns

pattern properties window showing component pane

Name

Name for the component. Should be as specific as possible

Label

More detail about the component.

Consistent

Check to require the same match for the component in all uses in a single pattern

Less<<

More>>

Hide or display the Components panel

Components

The list of components which are local to this component

Matches

The list of matches which are valid for this component

Result

The string or component result that the match is changed to. If empty, any sub-component results will be used. If there are no component results, no transformation will take place. Right-click in field to select a component name to use as the result

Modify Case

lower case

Normal

Sentence case
Title case

UPPER CASE

Transform the result of applying the component to the specified case.

See Also

Patterns Import dialog

Pattern Export dialog

Patterns properties dialog

Match pattern dialog

Test pattern dialog

Character selection dialog

Repeat dialog (for components of patterns)

System patterns

Pattern matching expressions