mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Add pcre type.
This commit is contained in:
parent
38673941dc
commit
2cfd2818b5
11 changed files with 184 additions and 10 deletions
10
testing/resources/pcre_hooks_repo/hooks.yaml
Normal file
10
testing/resources/pcre_hooks_repo/hooks.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
- id: regex-with-quotes
|
||||
name: Regex with quotes
|
||||
entry: "foo'bar"
|
||||
language: pcre
|
||||
files: ''
|
||||
- id: other-regex
|
||||
name: Other regex
|
||||
entry: ^\[INFO\]
|
||||
language: pcre
|
||||
files: ''
|
||||
Loading…
Add table
Add a link
Reference in a new issue