Message from @dead
Discord ID: 279738958915829766
I just need to look at a tutorial
it's just `/gnu.*linux/gi`
. means every character except \n
* means 0 or an infinite of them
oo
o
o
o
o
ooo
o
o
oo
o
g means global search
o
o
o
o
o
Ah, that seems really nice.
and i case incensitive
Regex isn't a programming language tho
More like language theory
it's a regular expression for text searching
can I get a quick rundown?
it recognize pattern
what is it for
Searching text for patterns
here
something like this for example : `/[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i` will recognize an email address
so what email address would that be?
any
or do you mean, if you define symbols
it define the pattern that makes an email address valid
like what was going on with that romanji
I mean
it was just used as a simple search and replace