isaacg1 / pyth

Pyth, an extremely concise language. Try it here:
https://pyth.herokuapp.com/
MIT License
263 stars 57 forks source link

Feature request (regex) #185

Closed kckennylau closed 8 years ago

kckennylau commented 8 years ago
Maltysen commented 8 years ago

uhhh, we use the python re module for this, so I'm not sure we can do much with this. Also {2,} does what you want.

kckennylau commented 8 years ago

Well, thanks for your quick reply. Maybe you could translate the regex, so that \S# (for exmaple) becomes \S\S+.

isaacg1 commented 8 years ago

\S{2,} is the same as \S\S+.

That being said, Pyth's regexes are exactly the same as Python's, and this is not a good place for asking for advice on using Python regexes.