官术网_书友最值得收藏!

  • JavaScript:Moving to ES2015
  • Ved Antani Simon Timms Narayan Prusty
  • 67字
  • 2021-07-09 19:07:34

Exact match

Any sequence of characters that's not a special RegEx character or operator represents a character literal:

var pattern = /orange/;

We mean o followed by r followed by a followed by n followed by …—you get the point. We rarely use exact match when using RegEx because that is the same as comparing two strings. Exact match patterns are sometimes called simple patterns.

主站蜘蛛池模板: 云龙县| 嘉祥县| 东港市| 比如县| 屏东县| 海林市| 泰和县| 陆川县| 武夷山市| 潞西市| 阳江市| 南华县| 安岳县| 柘城县| 偃师市| 瓦房店市| 武鸣县| 仪征市| 邢台县| 兴仁县| 吴江市| 海林市| 仲巴县| 武平县| 中超| 通城县| 宕昌县| 太和县| 西贡区| 南康市| 富民县| 三台县| 朝阳县| 广宁县| 师宗县| 佛学| 莆田市| 理塘县| 北川| 庆元县| 安乡县|