Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Text Library: Text Pattern-matching

This library cluster has 99 classes.

ECF: text-process.ecf

Classes for finding and matching textual patterns.

Directory: library/text/pattern

. /character

. /character/alphanumeric

. /composite

. /factory

. /kernel

. /language

. /language/C

. /language/Eiffel

. /optimized/factory

. /optimized/string_8

. /optimized/zstring

. /repeated

character

TP_ANY_CHAR

Matches any character

TP_CHARACTER_IN_SET

Matches character found in specified set

TP_CHARACTER_PATTERN

Matches single character

TP_CHARACTER_PROPERTY

Match character with a defined property

TP_CHAR_IN_ASCII_RANGE

Matches character in ASCII range

TP_END_OF_LINE_CHAR

Matches end of line

TP_LEFT_AND_RIGHT_CHAR

Matches if two consective character patterns both have a match

TP_LITERAL_CHAR

Matches single literal character

TP_NEGATED_CHAR

Matches if negated character pattern does not match

TP_WHITE_SPACE_CHAR

Matches white space character

character/alphanumeric

TP_ALPHANUMERIC_CHAR

Match alphanumeric character

TP_ALPHA_CHAR

Match alphabetical character

TP_NUMERIC_CHAR

Match numeric character

composite

TP_ALL_IN_LIST

Matches if all patterns in list consecutively match

Further Information

Click on class link to see client examples.

TP_ANY_WHILE_NOT_P_MATCH

Match any characters while pattern p does not match

TP_FIRST_MATCH_IN_LIST

Matches first pattern in list that matches

TP_LOOP

Match repeated text pattern in a loop until a terminating pattern is matched

TP_P2_WHILE_NOT_P1_MATCH

Match pattern p2 while p1 does not match

TP_RECURSIVE_PATTERN

Recursive text pattern

factory

TP_CODE_LANGUAGE_FACTORY

Text patterns for computer language

TP_C_LANGUAGE_FACTORY

C language text pattern factory

Further Information

Click on class link to see client examples.

TP_EIFFEL_FACTORY

Eiffel language text pattern factory

Further Information

Click on class link to see client examples.

TP_FACTORY

Factory to create new instances of text patterns

Further Information

Click on class link to see notes and client examples.

TP_RSTRING_FACTORY

Factory to create new instances of text patterns optimized for strings conforming to READABLE_STRING_8

Further Information

Click on class link to see client examples.

TP_SHARED_OPTIMIZED_FACTORY

Shared instance of object conforming to TP_OPTIMIZED_FACTORY

Further Information

Click on class link to see client examples.

TP_ZSTRING_FACTORY

Factory to create new instances of text patterns optimized for ZSTRING

kernel

TP_BACK_REFERENCE

Match literal text of a previous match

TP_BASIC_QUOTED_STRING

Matches quoted string with the characters ' and " escaped by backslash.

TP_BEGINNING_OF_LINE

Match beginning of line

TP_CONTINUOUS_PROPERTY

Match consecutive characters that share the same property

TP_DIGITS

Match consecutive digits

TP_HEXADECIMAL_DIGITS

Match hexadecimal character

TP_LITERAL_PATTERN

Literal text pattern

TP_NEGATED_PATTERN

Negated text pattern

TP_P1_UNTIL_P2_MATCH

Match pattern p1 repeatedly until p2 matches

TP_PATTERN

Text pattern

Further Information

Click on class link to see client examples.

TP_REFERENCE

Allows a future match to back reference a pattern

TP_SEARCHABLE

Pattern that has literal text which can be searched for directly in source text using either substring_index or index_of

Further Information

Click on class link to see descendants.

TP_WHITE_SPACE

Match consecutive white space

language

TP_IDENTIFIER

Match computer language identifier name

TP_QUOTED_CHAR

Match quoted character with escaping for specified coding language

TP_QUOTED_STRING

Match quoted string with escaping for specified coding language

Further Information

Click on class link to see client examples.

TP_XML_IDENTIFIER

Match XML language identifier name

language/C

TP_C_IDENTIFIER

Match C language identifier name

TP_C_LANG_QUOTED_CHAR

Match quoted character with escaping for C language

TP_QUOTED_C_LANG_STRING

Matches quoted string with escaping for C language

language/Eiffel

TP_EIFFEL_QUOTED_CHAR

Match quoted character with escaping for Eiffel language

TP_QUOTED_EIFFEL_STRING

Matches quoted string with escaping for Eiffel language

optimized/factory

TP_OPTIMIZED_FACTORY

Factory for creating new instances of core text-patterns matched against strings conforming to READABLE_STRING_GENERAL

Further Information

Click on class link to see notes and client examples.

TP_RSTRING_OPTIMIZED_FACTORY

TP_OPTIMIZED_FACTORY optimized for strings conforming to READABLE_STRING_8

TP_ZSTRING_OPTIMIZED_FACTORY

TP_OPTIMIZED_FACTORY optimized for strings of type ZSTRING

optimized/string_8

TP_OPTIMIZED_FOR_READABLE_STRING_8

Pattern match routines optimized for strings conforming to READABLE_STRING_8

TP_RSTRING_ALPHANUMERIC_CHAR

TP_ALPHANUMERIC_CHAR optimized for strings conforming to READABLE_STRING_8

TP_RSTRING_ALPHA_CHAR

TP_ALPHA_CHAR optimized for strings conforming to READABLE_STRING_8

TP_RSTRING_BASIC_QUOTED_STRING

TP_BASIC_QUOTED_STRING optimized for strings conforming to READABLE_STRING_8

TP_RSTRING_BEGINNING_OF_LINE

TP_BEGINNING_OF_LINE optimized for string conforming to READABLE_STRING_8

TP_RSTRING_CHARACTER_IN_SET

TP_CHARACTER_IN_SET optimized for strings conforming to READABLE_STRING_8

TP_RSTRING_CHAR_IN_ASCII_RANGE

TP_CHAR_IN_ASCII_RANGE optimized fro source text conforming to READABLE_STRING_8

TP_RSTRING_C_IDENTIFIER

TP_C_IDENTIFIER optimized for strings conforming to READABLE_STRING_8

TP_RSTRING_C_LANG_QUOTED_CHAR

Match quoted character with escaping for C language and optimized for strings conforming to READABLE_STRING_8

TP_RSTRING_DIGITS

TP_DIGITS optimized for strings conforming to READABLE_STRING_8

TP_RSTRING_EIFFEL_QUOTED_CHAR

Match quoted character with escaping for Eiffel language and optimized for strings conforming to READABLE_STRING_8

TP_RSTRING_END_OF_LINE_CHAR

TP_END_OF_LINE_CHAR optimized for string conforming to READABLE_STRING_8

TP_RSTRING_HEXADECIMAL_DIGITS

TP_HEXADECIMAL_DIGITS optimized for strings conforming to READABLE_STRING_8

TP_RSTRING_LITERAL

Literal text pattern for source text conforming to READABLE_STRING_8

TP_RSTRING_LITERAL_CHAR

Matches single literal character in a string conforming to READABLE_STRING_8

TP_RSTRING_NUMERIC_CHAR

Match numeric character in a string conforming to READABLE_STRING_8

TP_RSTRING_QUOTED_C_LANG_STRING

TP_RSTRING_QUOTED_STRING implemented for C language

TP_RSTRING_QUOTED_EIFFEL_STRING

TP_RSTRING_QUOTED_STRING implemented for Eiffel language

TP_RSTRING_QUOTED_STRING

TP_QUOTED_STRING optimized for strings conforming to READABLE_STRING_8

TP_RSTRING_WHITE_SPACE

TP_WHITE_SPACE optimized for string conforming to READABLE_STRING_8

TP_RSTRING_WHITE_SPACE_CHAR

TP_WHITE_SPACE_CHAR optimized fro source text conforming to READABLE_STRING_8

TP_RSTRING_XML_IDENTIFIER

TP_XML_IDENTIFIER optimized for strings conforming to READABLE_STRING_8

optimized/zstring

TP_OPTIMIZED_FOR_ZSTRING

Pattern match routines optimized for strings of type ZSTRING

TP_ZSTRING_ALPHANUMERIC_CHAR

TP_ALPHANUMERIC_CHAR optimized for ZSTRING source text

TP_ZSTRING_ALPHA_CHAR

Match alphabetical character for ZSTRING text

TP_ZSTRING_BASIC_QUOTED_STRING

TP_BASIC_QUOTED_STRING optimized for ZSTRING source text

TP_ZSTRING_BEGINNING_OF_LINE

TP_BEGINNING_OF_LINE optimized for ZSTRING source text

TP_ZSTRING_CHARACTER_IN_SET

TP_CHARACTER_IN_SET optimized for ZSTRING source text

TP_ZSTRING_CHAR_IN_ASCII_RANGE

TP_CHAR_IN_ASCII_RANGE optimized for ZSTRING source text

TP_ZSTRING_C_IDENTIFIER

TP_C_IDENTIFIER optimized for ZSTRING source text

TP_ZSTRING_C_LANG_QUOTED_CHAR

Match quoted character with escaping for C language and optimized for strings of type ZSTRING

TP_ZSTRING_DIGITS

TP_DIGITS optimized for ZSTRING source text

TP_ZSTRING_EIFFEL_QUOTED_CHAR

Match quoted character with escaping for Eiffel language and optimized for strings of type ZSTRING

TP_ZSTRING_END_OF_LINE_CHAR

TP_END_OF_LINE_CHAR optimized for ZSTRING text

TP_ZSTRING_HEXADECIMAL_DIGITS

TP_HEXADECIMAL_DIGITS optimized for ZSTRING source text

TP_ZSTRING_LITERAL

Literal text pattern for text of type ZSTRING

TP_ZSTRING_LITERAL_CHAR

Matches single literal character in a ZSTRING

TP_ZSTRING_NUMERIC_CHAR

Match numeric character optimized for ZSTRING text

TP_ZSTRING_QUOTED_C_LANG_STRING

TP_ZSTRING_QUOTED_STRING implemented for C language

TP_ZSTRING_QUOTED_EIFFEL_STRING

TP_ZSTRING_QUOTED_STRING implemented for Eiffel language

TP_ZSTRING_QUOTED_STRING

TP_QUOTED_STRING optimized for ZSTRING source text

TP_ZSTRING_WHITE_SPACE

TP_WHITE_SPACE optimized for ZSTRING source text

TP_ZSTRING_WHITE_SPACE_CHAR

Matches white space character in ZSTRING

TP_ZSTRING_XML_IDENTIFIER

TP_XML_IDENTIFIER optimized for ZSTRING source text

repeated

TP_COUNT_WITHIN_BOUNDS

Repeatedly match text pattern a number of times within specified bounds

Further Information

Click on class link to see client examples.

TP_ONE_OR_MORE_TIMES

Matches if pattern matches one or more times

TP_REPEATED_PATTERN

Abstraction representing patterns that are repeated. Any repeated pattern that has actions defined for it are added to list as faux-patterns so they can have their actions called from call_actions

TP_ZERO_OR_MORE_TIMES

Matches pattern zero or more times