Hello.
Explain to me why this code is below:
'tag#id.class@attr'.match(/\.|\@|\#(.+?)\.|\@|\#?^/gi) always displays:
["", "#id.", "@"] When I expected to receive:
["id", "class", "attr"] What's my mistake? It seems to indicate that the infa is stretched, which lies between: \. either with these \@ or these \# characters.