Giter Club home page Giter Club logo

fastscan's Issues

是否考虑支持正则表达式?

var words = ["今日头条""微信", "支付宝", /^http(s):\/\/.+/]
var scanner = new FastScanner(words)
var content = "今日头条小程序终于来了,这是继微信、支付宝、百度后,第四个推出小程序功能的App。猫眼电影率先试水,出现在今日头条。(http://www.taobao.com)"
var offWords = scanner.search(content)

node版本要求

我的node版本是6.11 好像不能使用 ,最低需要node版本是多少呢

Provide English translation

This seems like a great tool. Unfortunately I can't understand Chinese.
Could you provide an English translation for the documentation and your demo?

低版本兼容问题

L68:为了兼容低版本chrome44以及其他浏览器建议修改:

        var curExpands = Object.keys(root.next).map(function(key) {
            return root.next[key];
        });

替换原来的

var curExpands = Object.values(root.next);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.