A list of wildcard characters:
*: Any character of any length
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6C/05/wKiom1U9wCOg8RQjAABrP4V2vVE382.jpg "title=" 11.jpg "alt=" Wkiom1u9wcog8rqjaabrp4v2vve382.jpg "/>
?: any single character
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6C/05/wKiom1U9wK_BcaAiAAC6fH1lvmo870.jpg "title=" 12.jpg "alt=" Wkiom1u9wk_bcaaiaac6fh1lvmo870.jpg "/>
Note: Represents any single character, so the abc,acc,a98c here cannot match.
[]: matches any single character within the specified range, commonly used [a-z],[0-9],[a-z]
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6C/01/wKioL1U9wuLz4yxJAACg0D4zrOM171.jpg "title=" 13.jpg "alt=" Wkiol1u9wulz4yxjaacg0d4zrom171.jpg "/>
[^]: Configures any single character outside the specified range, similar to the inverse
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6C/05/wKiom1U9wjbgPZIQAAC0jnMh2uc769.jpg "title=" 14.jpg "alt=" Wkiom1u9wjbgpziqaac0jnmh2uc769.jpg "/>
Note: [^a-z]: As long as it is not lowercase letters are counted. Matches a single character, so the match is "a98c"
Common character sets: All match only a single
[: Space:]: all whitespace characters
[:p UNCT:]: All punctuation
[: Lower:]: All lowercase letters
[: Upper:]: So capital letters
[:d Igit:]: All sets of numbers
[: Alnum:]: So letters and numbers
[: Alpha:]: So the alphabet
The above example can be changed to:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6C/01/wKioL1U9xO6yEMKSAAFL1zvCz2E022.jpg "title=" 15.jpg "alt=" Wkiol1u9xo6yemksaafl1zvcz2e022.jpg "/>
This article is from "The Blood of the Linux blog" blog, please be sure to keep this source http://xuezhonghua.blog.51cto.com/10167373/1639049
Linux-bash file name Wildcard