Regular question: ^ aaa$ doesn't match?

text:

s
aaa
s

cannot match aaa with ^ aaa$ . Multiline mode has been enabled and changed to ^ aaa . Doesn"t $ match the end of the line? Ask for advice.

do I have a .net BUG?


regexr.com and regex101.com tests indicate that there is no such problem


personal testing can be done on chrome

`s
aaa
s
`.match(/^aaa$/gm)

clipboard.png


$,
clipboard.png


Thank you for your answers. I know why. This is a problem in the .net project. See
https://stackoverflow.com/que.
https://docs.microsoft.com/en.
in .net $ matches only \ n . It does not match \ r , so the way to make sure that bie is niu is ^ aaa\ rpm $.
I really have no idea which fairy made the setting. The funny thing is that the default line break for windows is \ r\ n , even if you don't recognize yourself as drunk.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea58c4-1d66.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea58c4-1d66.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?