Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
来自课程资源的好后缀示例。
苏塞纳斯
0 !S = 2
1 !SS = 6
2 !USS = 8
3 !NUSS = 5
其余的 8 个。
我的问题是:为什么 !SS = 6 而不是 = 1,因为 US 在一步匹配 !SS ?
!SS 表示:'SS' 是一个后缀,'xSS' 不是 (x != 'U')。
模式右移 1 后:
没有 y 的有效值可以使 'SSy' 匹配 'USS'
如果右移 6
如果 'abcde' == 'ENUSS' 这可能匹配