| (表达式 或)

Top  Previous  Next

 

当一个表达式或者另一个表达式可以匹配时就使用 | 。

 

例如:

 

表达式 '(stabilised|stabilized) condition' 和 'stabili(z|s)ed condition' 都可以匹配上 'stabilised condition' 和 'stabilized condition' 。

 

'(1|2|3) (person|people)'将匹配 '1 person' 和 '2 people' 和 '3 people' ,但不会匹配 '4 people' (它还可以匹配'2 person' 等等。)注意:还可以用一个 字符列表 来表达此表达式。


Copyright © 2021 Mythicsoft Ltd. All rights reserved.
Help file version: 9.0

PDF and CHM versions of this help file are available here:
http://mythicsoft.com/filelocatorpro/help