Nathan C

Results 7 comments of Nathan C

Adding a quick check for a word boundary or a semicolon does the trick locally. I'm still running through some more test cases. `(\b|;)` `"#(?Phex)(?Phex)(?Phex)(\b|;)"`

Testing locally using just the `\b` on the end of the regex doesn't yield a match. Adding in the `|;` gets it running. Not sure if they python regex parsing...

`\b` should work, according to my understanding of Python regex. I don't have an explanation, right now, for why it isn't running correctly, here, in Sublime. https://regex101.com/r/uzapkV/2

`#ABC ;` catches on the `\b` part of `(\b|;)` and ignores the `;` The order matters, if you have `(;|\b)` then you'll get the `;` back as a match, but...

I'm totally on board with that. I'll keep tinkering with it and come back if I find something more workable and less specific.

This happens again further down in the :show_error_help? method ``` def show_error_icon?(field_type, errors, suffix = nil) no_icon = %w(checkbox number_field radio_button select legend) hide = no_icon.include?(field_type.to_s) # errors.any? && @options.fetch(:errors,...

Struggling with something similar now. I've got several images in the file system that display at an incorrect orientation, but I can't seem to get the -auto-orient or the -rotate...