WordBoundary class

Insertable RegExpComponent to represents Word Boundary matching component

Typically used together with SerialExpressions

Example:

import 'package:fancy_regex/fancy_regex.dart';

const RegExpComponent cmp = const SerialExpressions(
  [
    WordBoundary(),
    RawExpression("ice",),
  ],
);

print(cmp.toString(),); // \bice

See more: WordBound

Implemented types
Available Extensions

Constructors

WordBoundary({bool negated = false})
Construct a RegExpComponent that translates directly as word boundary symbol. Allows a negated form.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
negated bool
If true, use an upper-cased B instead of lower-cased b
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited