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

Next Topic

Book Contents

Book Index

Match pattern dialog

The Match Pattern dialog is used to define text to be matched.

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

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

Match

Enter the text string and patterns to match. Select and right-click to apply repeats to the selected text. Right-click in the field to insert components. Right-click to display context menu.

[Repeat...]

Open the repeat dialog to specify how often a component or character can be or must be repeated.

Any Case

Check to make match case insensitive

Components

Selected or defined components that have been added to the pattern

Global Patterns

System components provided with Snap

[Characters...]

Open the Character Selection dialog to add characters to the match

Match context menu

The context menu in the Match field allow you to define the pattern to be matched

Global pattern

Displays list of existing global patterns and user designed components available to use in patterns

Character

Displays the sub-menu of character match options

Any

Match any character

Characters...

Opens the Character selection dialog

Space

Match a space character

Digit

Match any digit (0 - 9)

Alphanumeric

Match any alphanumeric character (0 - 9 or a - z or A - Z)

Non-Space

Match any character which is not a space

Non-Digit

Match any character which is not a digit

Non-Alphanumeric

Match any character which is not an alphanumeric

Repeat

Displays the sub-menu of component repeat options

Once

No repeat (default)

Optional

The component is optional (not required for match)

0 or More

The component is optional but can be repeated any number of times

1 or More

The component is required but can be repeated any number of times

Exactly

The component must be repeated the specified number of times

At least...

The component must be repeated the specified number of times or more

At Most...

The component is required but cannot be repeated more than the specified number of times

Between

The component must be repeated at least the lower number of times but no more than the higher number.

Undo

Undo last action

Cut

Cut selected component and place on clipboard

Copy

Copy selected component to clipboard

Paste

Paste in component from clipboard

Delete

Delete selected component

See Also

Patterns Import dialog

Pattern Export dialog

Patterns properties dialog

Component properties dialog

Test pattern dialog

Character selection dialog

Repeat dialog (for components of patterns)

System patterns

Pattern matching expressions