}
my token exponent { 'e' <sign>? <decimal> }
my regex float {
<sign>?
<decimal>?
'.'
<decimal>
<exponent>?
}
Too verbose
regex with variables, so cool xD
Can write token inside regex
Looks more confuse than normal regex 😂
Can use same normal regex
It is pretty cool
what about regex capture groups ?
Обсуждают сегодня