wordPattern property

RegExp? get wordPattern

The language's word definition. If the language supports Unicode identifiers (e.g. JavaScript), it is preferable to provide a word definition that uses exclusion of known separators. e.g.: A regex that matches anything except known separators (and dot is allowed to occur in a floating point number): /(-?\d*.\d\w*)|(^\`\~\!\@\#\%\^\&\*\(\)\-\=\+[\{]\}\\|\;\:\'\"\,\.\<\>\/\?\s+)/g

Implementation

_i7.RegExp? get wordPattern => _i5.getProperty(
      this,
      'wordPattern',
    );
set wordPattern (RegExp? value)

Implementation

set wordPattern(_i7.RegExp? value) {
  _i5.setProperty(
    this,
    'wordPattern',
    value ?? _i6.undefined,
  );
}