Skip to content

Conversation

@t20100
Copy link
Contributor

@t20100 t20100 commented Jan 30, 2023

This PR fixes the regular expressions used to validate the submitted batch script.

Indeed according to re.X documentation:

When a line contains a # that is not in a character class and is not preceded by an unescaped backslash, all characters from the leftmost such # through the end of the line are ignored.

So all regular expressions were matching to the line start.

@welcome
Copy link

welcome bot commented Jan 30, 2023

Thanks for submitting your first pull request! You are awesome! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@consideRatio consideRatio merged commit 0a503cc into jupyterhub:main Mar 16, 2024
@welcome
Copy link

welcome bot commented Mar 16, 2024

Congrats on your first merged pull request in this project! 🎉
congrats
Thank you for contributing, we are very proud of you! ❤️

@consideRatio
Copy link
Member

Thank you for the clear motivation for the change @t20100!

@t20100 t20100 deleted the fix-slurm-test branch March 18, 2024 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants