Created
September 16, 2023 17:16
-
-
Save Ionsolo/5e38ce093739e6e3a77e23e176461579 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# perl code | |
while ($url =~ /=(.+?)(?:&|$)/g) { | |
push @parametros, $1; | |
} | |
# What does that regexp: parsing an capture every char after the "=" until a new line or '&' chars are encountered, match all coincidences | |
# what code does: using a while loop that triggers every time that the regexp finds something new in the url, so if there three matches means three times executing the inside loop code. What the wants to replicate in raku is that, using a loop construct to do things while the search is on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment