What's the difference between "=" and "^ ~" when nginx location matches uri?

There are several ways for

nginx location to match Uris. Where the "=" matches a string exactly, and if it matches, there is no more regular matching and other rules. "^ ~" is also a matching string, so there will be no regular matching in the future, but will it continue to match other strings? What"s the difference between the two?

Jul.18,2022

= has a higher priority than ^ . = will not be matched by ^ if it can match. Search [nginx priority] to see more

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-1c068a5-32803.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-1c068a5-32803.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?