搜索:
   
 
Regular Expression and Wildcard Support
日期:2008-08-08    
 

 

Overview

A regular expression (regex or regexp for short) specifies a set of strings that matches it. You are probably familiar with wildcard   notations such as *.txt to find all text files in a file manager. The regex equivalent is .*\.txt$ .

 

A wildcard,as a cruder pattern matching string than a regular expression,is a special symbol that stands for one or more characters.Many operating systems and applications support wildcards for identifying files and directories. This enables you to select   multiple files with a single specification. For examples, in DOS and Windows,the asterisk (*) is a wild card that stands for any combination of letters.

 

Introduction

In many situations,users may want to specify patterns to match but don’t need the full power of regular expressions, and wildcards make one of those sets of simplified rules.Therefore,in some Array TMX configurations,both regular expressions and wildcards are introduced in matching operations.As some of regular expressions and wildcards even act the same almost,some users experience confused using regular expression and wildcards together in Array configurations.In order to make the users not confuse regular expressions with

wildcards,the regular expression and wildcard usage in different modules is discussed and compared in this white paper.