summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/InventoryChangedEventArgs.cs
diff options
context:
space:
mode:
authorKhloe Leclair <xivkhloeleclair@gmail.com>2022-04-16 13:55:54 -0400
committerKhloe Leclair <xivkhloeleclair@gmail.com>2022-04-16 13:55:54 -0400
commit446205c7bd342422f4b4f14d6c8f36dc0b6cf468 (patch)
tree00cd3bf3e087fa24a00686d5f810e67cbb88b5b8 /src/SMAPI/Events/InventoryChangedEventArgs.cs
parente7fd95aafd044d7b8c95b93d0618324254db4eff (diff)
downloadSMAPI-446205c7bd342422f4b4f14d6c8f36dc0b6cf468.tar.gz
SMAPI-446205c7bd342422f4b4f14d6c8f36dc0b6cf468.tar.bz2
SMAPI-446205c7bd342422f4b4f14d6c8f36dc0b6cf468.zip
Add regex error checking, and display a message to the user when their regular expression has a syntax error. Additionally, use a non-capturing group to surround the user input when `Match whole word` is enabled in case alternates are being used. Finally, add a safety check to highlighting to avoid an infinite loop when zero-length matches happen.
Diffstat (limited to 'src/SMAPI/Events/InventoryChangedEventArgs.cs')
0 files changed, 0 insertions, 0 deletions