What does this regex do?

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

Did you find this page helpful?