Replace Boost Regex with std::locale - #3409
Conversation
Co-authored-by: Brian Ward <bward@flatironinstitute.org>
Jenkins Console Log Machine informationNo LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focalCPU: G++: Clang: |
Submission Checklist
./runTests.py src/test/unitmake cpplintSummary
The validation rules for Stan variable names are simple enough that we don't need the
boost/regexdependency and can use basic string checking utilities from the standard library insteadIntended Effect
Reduce dependency footprint
How to Verify
Current tests and models all still run/pass
Side Effects
N/A
Documentation
N/A
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Andrew Johnson
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: