hotfix: fix typo in flux regexp types doc, closes #5113

pull/5198/head
Scott Anderson 2023-10-25 12:53:29 -06:00
parent fe55aa8610
commit 72b8b4a19e
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,8 @@ enclosed in parentheses (`()`) and preceded by a question mark (`?`).
## Use regular expressions in predicate expressions
To use regular expressions in [predicate expressions](/flux/v0/get-started/syntax-basics/#predicate-expressions),
use the [`=~` and `!~` comparison operators](/flux/v0/spec/operators/#comparison-operators).
The right operand must be a string.
The left operand must be a regular expression.
The left operand must be a string.
The right operand must be a regular expression.
```js
"abc" =~ /\w/