What does this regex do?

/.*?/
5 Replies
sen.py
sen.py3y ago
Looks like it matches anything except newline shortest possible combination also so it will match single char
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
sen.py
sen.py3y ago
enable global flag
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
benton
bentonOP3y ago
thanks yall

Did you find this page helpful?