sparkfunX / Buzzard

Software tools for EAGLE silkscreen generation
100 stars 18 forks source link

Parsing collections with similar tags yields duplicate error #15

Closed NPoole closed 4 years ago

NPoole commented 4 years ago

"(B-]" and "(B+]" both become "#B##" after being sanitized. Making a note here to either vary the 'safe' characters or tweak Owen's new serializer (both tags, in this case, are getting the same serial number, which gives Eagle a hard time)

NPoole commented 4 years ago

In the library append function: The regex for finding serial numbers appended to tags was only finding the first digit, so similar tags with serial numbers above 10 were becoming duplicates. Changed the regex.