brainhackorg / global2021

Website for Brainhack global 2021
https://brainhack.org/global2021/
MIT License
3 stars 11 forks source link

BUG: Fix regex patterns #79

Closed jhlegarreta closed 2 years ago

jhlegarreta commented 2 years ago

Fix regex patterns.

Fixes #78.

jhlegarreta commented 2 years ago

@Remi-Gau Looks like the previous regexes I proposes were closer to what Javascript is capable of dealing with. I did not find the right translation to Python, so the new solution does not strip the line breaks. Would be nice to find the way to do so as time permits, but IMO the solution is good enough/works.

For some reason, the URL pattern was also not working.