Hi all,
mainly for by own benefit I created a regex cheatsheet and then decided to flesh it out a bit, so it's become a mini-primer.
I'm an intermediate, not expert, regex user, and find this kind of thing helpful for my own learning.
Might be useful for those new to regex...
I've also added a handler to workaround 'global match' mode, which doesn't exist in PCRE regex/LiveCode (all matches are returned), and will add 1-2 more useful workarounds in the near future.
I've made it into a wiki using GitHub: https://github.com/stam66/regexPrimerForLivecode/wiki
I'm planning to make an stack out of this as well for interactive testing, although as always I recommend a 'proper' online IDE for this: https://regex101.com
If anyone has any interest, have a look at the wiki and please raise an issue on GitHub if you want to make corrections or recommendations.
mainly for by own benefit I created a regex cheatsheet and then decided to flesh it out a bit, so it's become a mini-primer.
I'm an intermediate, not expert, regex user, and find this kind of thing helpful for my own learning.
Might be useful for those new to regex...
I've also added a handler to workaround 'global match' mode, which doesn't exist in PCRE regex/LiveCode (all matches are returned), and will add 1-2 more useful workarounds in the near future.
I've made it into a wiki using GitHub: https://github.com/stam66/regexPrimerForLivecode/wiki
I'm planning to make an stack out of this as well for interactive testing, although as always I recommend a 'proper' online IDE for this: https://regex101.com
If anyone has any interest, have a look at the wiki and please raise an issue on GitHub if you want to make corrections or recommendations.
Statistics: Posted by stam — Tue Jul 16, 2024 12:02 pm