Shell Wildcard Matching in purem Python (ohne re)?
27 Nov
2015
27 Nov
'15
1:02 p.m.
Hi allerseits, kennt jemand eine Implementierung für Shell Wildcard Matching in purem Python, also auch ohne das re-Modul zu benutzen (wie es fnmatch tut)? Einsatzzweck: OSC Address Pattern Matching [1] unter Micropython [2], also potentiell auf Microprozessoren und ohne Zugriff auf irgendwelche C-Libraries. Unterstützung von '{a,b}' Pattern wäre schön, lässt sich aber bestimmt ggf. leicht nachrüsten. Chris [1] OSC Address Spaces and OSC Addresses, http://opensoundcontrol.org/spec-1_0 [2] http://docs.micropython.org/en/latest/
3072
Age (days ago)
3072
Last active (days ago)
0 comments
1 participants
participants (1)
-
Christopher Arndt