❗️GOV.UK Elements is deprecated, and will only receive major bug fixes and security patches. A gem wrapper around http://github.com/alphagov/govuk_elements that pulls stylesheet and javascript files into a Rails app.
With the new regex it falsely assumes there’ll always be a hypen (e.g. v3.0.0-ab123). This adjusts the capturing and makes the hyphen optional to allow for other strings like v3.0.0.
With the new regex it falsely assumes there’ll always be a hypen (e.g.
v3.0.0-ab123
). This adjusts the capturing and makes the hyphen optional to allow for other strings likev3.0.0
.