Skip to content

Commit 7c84f01

Browse files
authored
Add example with case insenstive flag (#18)
1 parent bbcf172 commit 7c84f01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You can write your own regular rules in a YAML file, like so:
2020
.. code-block:: YAML
2121
2222
- name: No ToDo
23-
pattern: '[tT][oO][dD][oO]'
23+
pattern: '(?i)todo' # case insensitive flag
2424
hint: Get it done right away!
2525
filePattern: .*\.(py|js)
2626
error: false

0 commit comments

Comments
 (0)