File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
sources/SilkTouch/SilkTouch/Mods Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1499,19 +1499,21 @@ public bool TryGetSymbolMetadata(
14991499 /// while the lookbehind asserts that the ending match will not overreach into the end of a word.
15001500 /// </summary>
15011501 // NOTE: LET THIS BE A LESSON! Do NOT add x (fixed) here, these will frequently conflict with integer overloads.
1502- [ GeneratedRegex ( "(?<!xe)((?<!Rewin)[dhf ]v?|u?[isb](64)?v?|v|i_v|fi|hi)$" ) ]
1502+ [ GeneratedRegex ( "(?<!xe)([fdh ]v?|u?[isb](64)?v?|v|i_v|fi|hi)$" ) ]
15031503 private static partial Regex EndingsToTrim ( ) ;
15041504
15051505 /// <summary>
15061506 /// This regex acts like a whitelist for endings that could have been matched in some way by the main
15071507 /// expression, but should be exempt from trimming altogether.
15081508 /// </summary>
1509+ // Rewindv is to prevent Rewindv from being trimmed as Rewin
1510+ // TODO: Consider replacing this with something that prevents a list of words from being trimmed into instead of not being trimmed at all
15091511 [ GeneratedRegex (
15101512 "(sh|ib|[tdrey]s|(?<![A-Z])[eE]n[vd]|bled|Attrib|Access|Boolean|Coord|Depth|Feedbacks|Finish|Flag|"
15111513 + "Groups|IDs|Indexed|Instanced|Pixels|Queries|Status|Tess|Through|Uniforms|Varyings|Weight|Width|Bias|Id|"
15121514 + "Fixed|Pass|Address|Configs|Thread|Subpass|Deferred|Extended|Affix|Annex|Box|Aux|Ex|Index|Vertex|Path|"
15131515 + "Arch|Arith|Afresh|Both|High|Math|Mesh|Sinh|Bench|Brush|Bunch|Crash|Flush|Depth|Latch|Morph|Pinch|"
1514- + "Pitch|Stretch|Smooth|Matrix|Radix|Sound|Rewind|Supported )$"
1516+ + "Pitch|Stretch|Smooth|Matrix|Radix|Sound|Supported| Rewind|Rewindv )$"
15151517 ) ]
15161518 private static partial Regex EndingsNotToTrim ( ) ;
15171519
You can’t perform that action at this time.
0 commit comments