Closed tjvr closed 5 years ago
How would this work implementation-wise? Would moo fold the case itself, e.g., 'const'
=> /[cC][oO][nN][sS][tT]/
? (If so, it should probably support Unicode)
Would moo fold the case itself
Yes, it would have to.
(I saw a proposal somewhere for inline flag modifiersā(?iā¦)
perhaps?ābut fairly obviously that's not something Moo can rely on! :-) )
I created a pull request for this: #78
We now support general-purpose type
transforms.
Previously, previously.