Guake / guake

Drop-down terminal for GNOME
https://guake.github.io
GNU General Public License v2.0
4.46k stars 579 forks source link

Allow Python versions >=3.10 and IPython alternate command as default shell options #2242

Open novaTopFlex opened 7 months ago

novaTopFlex commented 7 months ago

Please follow these steps before submitting a new Pull Request to Guake:

SparkyBluefang commented 5 months ago

This might be a simpler regex to evaluate

PYTHONS = re.compile(r"^[a-z]?python(\d(\.\d+)?)?$")

or

PYTHONS = re.compile(r"^[a-z]?python(?:\d(?:\.\d+)?)?$")

if you don't need to capture the version components.