Ikcelaks / qmk_sequence_transform

Sequence-Transform is a user library for QMK that enables a rich declarative ruleset for transforming a sequence of keypresses into any output you would like.
Apache License 2.0
6 stars 3 forks source link

Sequence tokens regex enhancement #48

Closed QKekos closed 7 months ago

QKekos commented 7 months ago

Small pr to allow user to use sequence tokens inside of regex groups

For example: (★l|l★) was not a valid group before, but it is with this pr It uses [\w{MAGIC_CHARS}](it was just \w before) regex group to capture regex groups from the dictionary, so its pretty much safe