eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'StringPattern::Includes':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: Includes (private in StringPattern

This class is only visible from within StringPattern.

Inheritance:

   Object
   |
   +--StringPattern
      |
      +--StringPattern::Includes

Package:
stx:libbasic2
Category:
Collections-Text-Support
Owner:
StringPattern

Instance protocol:

conversion
o  asString
Returns a string representation of the pattern.

`StringPattern fromString: pattern asString` should return
the same pattern (same meaning equal)

matching
o  match: string from: from to: to case: case relax: relax
(comment from inherited method)
Answers true if receiver matches the given `string`
portion starting at `from`, ending at `to`.
If `case` is true, then perform natch case sensitive,
otherwise match case insensitive.

`relax` argument say how much the matching should
be relaxed - relax is a number in <1..3>, where
1 means no relaxing at all (aka exact match).
All patterns should support relax == 1. If the relax
level is not supported by a pattern, false must be
returned.



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:48:40 GMT