Skip to Main Content
The “Oslo” Modeling Language
book

The “Oslo” Modeling Language

by David Langworthy, Brad Lovering, Don Box
October 2008
Beginner to intermediate content levelBeginner to intermediate
208 pages
3h 1m
English
Addison-Wesley Professional
Content preview from The “Oslo” Modeling Language

Chapter 9. Text Pattern Expressions

Text pattern expressions perform operations on the sets of possible text values that one or more terms recognize.

9.1 Primary Expressions

A primary expression can be:

• A text literal

• A reference to a syntax or token rule

• An expression indicating a repeated sequence of primary expressions of a specified length

• An expression indicating any of a continuous range of characters

• An inline sequence of pattern declarations

The following grammar reflects this structure.

Primary:

ReferencePrimary

TextLiteral

RepetitionPrimary

CharacterClassPrimary

InlineRulePrimary

AnyPrimary

9.1.1 Character Class

A character class is a compact syntax for a range of continuous characters. This expression requires that the text ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Technical Java™: Developing Scientific and Engineering Applications

Technical Java™: Developing Scientific and Engineering Applications

Grant Palmer
Programming in the .NET Environment

Programming in the .NET Environment

Damien Watkins, Mark Hammond, Brad Abrams

Publisher Resources

ISBN: 9780321606518Purchase book