opulo-inc / hardware-github-viewer

Chrome extension for viewing Kicad and FreeCAD files in github
Other
22 stars 3 forks source link

filename matching is case sensitive #1

Open atanisoft opened 9 months ago

atanisoft commented 9 months ago

Currently the plugin works great if the file extension is an exact match for the regex, but if you have foo.STEP then it will ignore the file entirely.

To fix this the regex should be wrapped in / marks with a trailing i to indicate case insensitive matching.

atanisoft commented 9 months ago

Example: image