rails-sqlserver / activerecord-sqlserver-adapter

SQL Server Adapter For Rails
MIT License
968 stars 558 forks source link

Escape regexs #1093

Closed aidanharan closed 9 months ago

aidanharan commented 9 months ago

Escape the regular expressions in the coerced tests. They were causing the following warnings:

https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/actions/runs/6249682885/job/16966903222?pr=1092

(none):1340: warning: character class has duplicated range: /order by [posts].[title]/
(none):1352: warning: character class has duplicated range: /order by [posts].[title]/