文件名称:xregexp-lookbehind::eyes:向后实现XRegExp
文件大小:2KB
文件格式:ZIP
更新时间:2024-06-06 10:44:08
JavaScript
xregexp-lookbehind 周围的一个微小的节点包装。 用法 var merge = require ( 'lodash.merge' ) ; var XRegExp = require ( 'xregexp' ) . XRegExp ; merge ( XRegExp , require ( 'xregexp-lookbehind' ) ) ; console . log ( XRegExp . matchAllLb ( "Catwoman's cats are fluffy cats" , '(?i)(?<!fluffy\\W+)' , / cat \w * / i ) ) ; // ['Catwoman', 'cats']
【文件预览】:
xregexp-lookbehind-master
----package.json(642B)
----xregexp-lookbehind.js(2KB)
----README.md(410B)