C#10 introduced the ability for constant string interpolation. This means one constant string can be constructed from other constant strings and performance gains can be realized.
Currently, our regex patterns use string interpolation to include sub-patterns and promote reuse. However, since we haven't been on C#10 until recently, some of these strings could not be constant values.
This PR takes advantage of that and makes the remaining regex patterns constant across the board. This closes #81.
Changes
Disable the static analysis suppression now that we're on C#10
Description
C#10 introduced the ability for constant string interpolation. This means one constant string can be constructed from other constant strings and performance gains can be realized.
Currently, our regex patterns use string interpolation to include sub-patterns and promote reuse. However, since we haven't been on C#10 until recently, some of these strings could not be constant values.
This PR takes advantage of that and makes the remaining regex patterns constant across the board. This closes #81.
Changes
Validation