expanded class BACKTRACKING_REGULAR_EXPRESSION_PATTERN

All features

Class for backtracking (compiled) regular expressions pattern.

Direct parents

non-conformant parents

ANY

Summary

exported features

Details

group_count: INTEGER

The count of groups of the regular expression.

is_valid: BOOLEAN

Is the current pattern valid?

root: BACKTRACKING_NODE

The root item.

make (top: BACKTRACKING_NODE, grpcnt: INTEGER)

Initializing

require

  • top_not_void: top /= Void

ensure

  • definition: root = top and group_count = grpcnt
  • valid: is_valid