bittercode / pyrrhic-ree

pyrrhic regular expression editor
GNU General Public License v2.0
9 stars 1 forks source link

Embedded Flags don't get removed #10

Closed bahostetterlewis closed 11 years ago

bahostetterlewis commented 11 years ago

Embedded flags aren't removed when they are erased.

Embedded flag syntax (?) Valid flags

These flags represent the tick boxes in the flag cell. These flags can be added in a string with no spaces, example (?aiL) is a valid embedded flag string.

The issue is that when turning (?aiL) to (?ai) the Locale checkbox is not unticked. It should be a simple fix. I imagine you just need to have all flags, subtract the flags found and untick what is left.