Skip to content

Commit

Permalink
🐛 Extend huglint regex to more clj identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahElliott committed Nov 18, 2024
1 parent 338def4 commit 24ca78f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/huglint
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# sed -r -e 's/(^-- :name )/EXEC SQL \1/' -e "s/([^:])((:v\*)?:[-a-z?]+)/\1'\2--\3--XXXXX'/g" $1
# sed -r -e 's/(^-- :name )/EXEC SQL \1/' -e "s/([^:])((:v\*)?:[-a-z?]+)/\1'\2--\3--XXXXX'/g" $1 |ecpg - >/dev/null

err=$( sed -r -e 's/(^-- :name )/EXEC SQL \1/' -e "s/([^:])((:v\*)?:[-a-z?]+)/\1'\2--\3--XXXXX'/g" $1 |
err=$( sed -r -e 's/(^-- :name )/EXEC SQL \1/' -e "s/([^:])((:v\*)?:[-a-z0-9+*_<>!?]+)/\1'\2--\3--XXXXX'/g" $1 |
ecpg - 2>&1 >/dev/null )
es=$?

Expand Down

0 comments on commit 24ca78f

Please sign in to comment.