loicleyendecker / deeppath

MIT License
5 stars 4 forks source link

Allow any key not only alphas (#14) #15

Open slavos1 opened 2 years ago

slavos1 commented 2 years ago

The only true change is in _REPETITION_REGEX and test_dset_with_dots; others are reformat by black and debug lines.

This is based on my understanding what key can be: so far, a path like "1/2.3.4[0]" would be effectively treated as "1/4[0]"; this PR allows any without left square bracket "[".

Can remove debug lines if not desirable.