Skip to content

Commit

Permalink
fix an issue in one of handlebars examples
Browse files Browse the repository at this point in the history
  • Loading branch information
RFSH authored Jan 9, 2024
1 parent b4a52a1 commit 95db61c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user-docs/handlebars.md
Original file line number Diff line number Diff line change
Expand Up @@ -1051,12 +1051,12 @@ In this section we go over the helpers that can be used to do boolean operations
Using the `regexMatch` function you can check whether a given value matches the given regular expression. The regular expression syntax that Javascript supports is a bit different from other languages, please refer to [MDN regular expressions document](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions) for more information.

```
{{#if (regexMatch value "jpg|png" )}}
.. content
{{/if}}
```

### Logical Helpers
{{#if (regexMatch value "jpg|png" )}}

- And (`and`)

Expand Down

0 comments on commit 95db61c

Please sign in to comment.