Skip to content

Commit

Permalink
docs: add example for case-insensitive regex
Browse files Browse the repository at this point in the history
  • Loading branch information
ahochsteger committed Mar 2, 2025
1 parent 5ca9432 commit 483ea37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/examples/advanced/regularExpressions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ import {
*
* The extracted data is finally used to dynamically define the location of the attachment to be stored using:
* `.../Reports/{{message.subject.match.school}}/All Reports/{{message.subject.match.reportType}}/{{message.subject.match.reportSubType}}/{{message.subject.match.date}}-{{attachment.name}}`
*
* Flags like searching for the case-insensitive string are also supported by prefixing the regex with `(?<flags>)` like `(?i)...`.
*/
export const info: ExampleInfo = {
name: "regularExpressions",
Expand Down

0 comments on commit 483ea37

Please sign in to comment.