+
Point of view
ANY
deferred class BACKTRACKING_REGULAR_EXPRESSION_BUILDER
Summary
Overview
exported features
make
  • make
    Initialise the attributes.
behaviors
parsing
results
basic
error managment
scanning
assertions
character classes
character class naming
and/or basics
make
effective procedure
Initialise the attributes.
is_case_insensitive: BOOLEAN
writable attribute
Is the match case insensitive?
is_case_sensitive: BOOLEAN
effective function
Is the match case sensitive?
set_case_sensitive
effective procedure
Set the match as case sensitive.
set_case_insensitive
effective procedure
Set the match as case insensitive.
does_any_match_newline: BOOLEAN
writable attribute
Does the "any character" mark match a newline?
set_any_match_newline
effective procedure
The "any character" mark will match a newline.
set_any_dont_match_newline
effective procedure
The "any character" mark will not match a newline.
does_match_line_boundary: BOOLEAN
writable attribute
Does the begin/end marks match line boundary?
does_match_text_boundary: BOOLEAN
effective function
Does the begin/end marks match text boundary?
set_match_line_boundary
effective procedure
The begin/end marks will match line boundary.
set_match_text_boundary
effective procedure
The begin/end marks will match text boundary.
set_default_options
effective procedure
Set the default options
parse_expression (expr: STRING)
effective procedure
Set the expression to parse and parse it.
parse
effective procedure
Parse the current expression.
has_result: BOOLEAN
effective function
Did the last 'parse' or 'parse_expression' produced a result in 'last_regular_expression'?
writable attribute
The last regular expression pattern built by 'parse' or 'parse_expression'
scanned_string: STRING
writable attribute
The expression being currently build.
set_scanned_string (string: STRING)
effective procedure
Set the 'scanned_string' with 'string'.
has_error: BOOLEAN
writable attribute
True when an error was encountered
clear_error
effective procedure
Remove the error flag
last_error: STRING
effective function
Returns a string recorded for the error.
set_error (message: STRING)
effective procedure
Set has_error and last_error.
position: INTEGER_32
writable attribute
The scanned position.
last_character: CHARACTER
writable attribute
The scanned character.
valid_last_character: BOOLEAN
writable attribute
True when 'last_character' is valid.
valid_previous_character: BOOLEAN
effective function
True if the position-1 is a valid position.
previous_character: CHARACTER
effective function
The character at position-1.
valid_next_character: BOOLEAN
effective function
True if the position+1 is a valid position.
next_character: CHARACTER
effective function
The character at position+1.
end_of_input: BOOLEAN
effective function
True when all the characters of 'scanned_string' are scanned.
goto_position (pos: INTEGER_32)
effective procedure
Change the currently scanned position to 'pos'.
read_character
effective procedure
Reads the next character.
read_integer
effective procedure
Reads an integer value beginning at the currently scanned position.
saved_position: INTEGER_32
writable attribute
The saved position (only one is currently enougth).
save_position
effective procedure
Saves the current scanning position.
restore_saved_position
effective procedure
Restore the scanning position to the last saved one.
last_string: STRING
writable attribute
A string buffer.
last_integer: INTEGER_32
writable attribute
An integer buffer.
the_any_character_item: REGULAR_EXPRESSION_ITEM_ANY
once function
the_not_end_of_line_item: REGULAR_EXPRESSION_ITEM_NOT_END_OF_LINE
once function
the_begin_of_line_item: REGULAR_EXPRESSION_ITEM_BEGIN_OF_LINE
once function
once function
the_begin_of_text_item: REGULAR_EXPRESSION_ITEM_BEGIN_OF_TEXT
once function
the_real_end_of_text_item: REGULAR_EXPRESSION_ITEM_END_OF_TEXT
once function
once function
the_begin_of_word_item: REGULAR_EXPRESSION_ITEM_BEGIN_OF_WORD
once function
once function
the_is_posix_alnum_item: REGULAR_EXPRESSION_ITEM_IS_POSIX_ALNUM
once function
the_is_posix_alpha_item: REGULAR_EXPRESSION_ITEM_IS_POSIX_ALPHA
once function
the_is_posix_ascii_item: REGULAR_EXPRESSION_ITEM_IS_POSIX_ASCII
once function
the_is_posix_blank_item: REGULAR_EXPRESSION_ITEM_IS_POSIX_BLANK
once function
the_is_posix_cntrl_item: REGULAR_EXPRESSION_ITEM_IS_POSIX_CNTRL
once function
the_is_posix_digit_item: REGULAR_EXPRESSION_ITEM_IS_POSIX_DIGIT
once function
the_is_posix_graph_item: REGULAR_EXPRESSION_ITEM_IS_POSIX_GRAPH
once function
the_is_posix_lower_item: REGULAR_EXPRESSION_ITEM_IS_POSIX_LOWER
once function
the_is_posix_print_item: REGULAR_EXPRESSION_ITEM_IS_POSIX_PRINT
once function
the_is_posix_punct_item: REGULAR_EXPRESSION_ITEM_IS_POSIX_PUNCT
once function
the_is_posix_space_item: REGULAR_EXPRESSION_ITEM_IS_POSIX_SPACE
once function
the_is_posix_upper_item: REGULAR_EXPRESSION_ITEM_IS_POSIX_UPPER
once function
the_is_posix_word_item: REGULAR_EXPRESSION_ITEM_IS_POSIX_WORD
once function
the_is_posix_xdigit_item: REGULAR_EXPRESSION_ITEM_IS_POSIX_XDIGIT
once function
has_named_posix_item (name: STRING): BOOLEAN
effective function
True if 'name' is for a valid posix character class
named_posix_item (name: STRING): REGULAR_EXPRESSION_ITEM
effective function
the item for the valid posix character class 'name'
has_named_perl_item (name: STRING): BOOLEAN
effective function
True if 'name' is for a valid perl character class
named_perl_item (name: STRING): REGULAR_EXPRESSION_ITEM
effective function
the item for the valid perl character class 'name'
the_cut_node: BACKTRACKING_NODE_CUT
once function
the_true_node: BACKTRACKING_NODE_TRUE
once function
the_false_node: BACKTRACKING_NODE_FALSE
once function
the_cut_and_false_node: BACKTRACKING_NODE_CUT_AND_FALSE
once function