$ (字符串的结束)

Top  Previous  Next

 

匹配字符串的结尾(要匹配字符串的开始,请使用 '^' )。

 

例如:

 

如果将表达式 'complaint\.doc$' 作为文件名称条件,将找到以 'complaint.doc' 结尾的所有文件(注意这里对 '.' 使用了 '\' 转义符 )。因此将找到如 'bank_complaint.doc'、'my_complaint.doc' 这样的文件,而不会找到如  'some_complaint.txt' 、'some_complaint_2.doc' 这样的文件。

 

 


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