mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Implement pygrep language as a replacement for pcre
This commit is contained in:
parent
3a7806ea30
commit
e9509306d8
8 changed files with 186 additions and 112 deletions
|
|
@ -1,16 +0,0 @@
|
|||
- 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: ''
|
||||
- id: regex-with-grep-args
|
||||
name: Regex with grep extra arguments
|
||||
entry: foo.+bar
|
||||
language: pcre
|
||||
files: ''
|
||||
args: [-i]
|
||||
Loading…
Add table
Add a link
Reference in a new issue