Sijawusz Pur Rahnama
Sijawusz Pur Rahnama
> Can you provide a use case? @asterite These new methods are documented and I consider that enough for explaining the use cases. > Also, UInt16 should be replace with...
@asterite ping 👋
> We can't just change the return type of `#name_table` from `Hash(UInt16, String)` to `Hash(Int32, String)`. That would break the API. For now, we need to keep that method. >...
@beta-ziliani My use case was the replacement/escaping named group values without knowing the group names in advance. Without `#names` I had to resort to `#name_table.to_a.sort!.map(&.[1])` call. And sorry for the...
> `#each_name` sounds reasonable, but I agree the method name should be changed. We now have `Regex::PCRE2#each_named_capture_group` which is pretty much the same idea. Note that you could only skip...
Would be great to see this merged.
@nobodywasishere That solution seems nice at the first glance, yet due to its implicit (magic) nature, it will IMO end up as either too complex, or too simple to cover...
Looks like a duplicate of #9065
`src/none.cr` seems to be added by accident?
Spec would be nice :)