Coder Social home page Coder Social logo

js-regex-1's Introduction

JS Regular Expression Tester

Quick regular expression testing in JavaScript, using JavaScript.

Go Use

When I'm working with Ruby and Regular Expressions I love using Rubular. I couldn't find a tool that was just like it but used JavaScript, so I built this.

The app is a small Ruby (Sinatra) app, purely as that was the quickest thing I could use to get it online through Heroku, where it currently lives. I guess I should have made it a Node app...but Sinatra was quicker for me personally to through a quick site together, and keep all the logic on the front-end.

The entire idea, and the quick reference guide was taken directly from Rubular. I'm not trying to outrageously copy, but I literally wanted the exact same site as Rubular, but for JavaScript. All credit to the idea, reference and general layout goes to Michael Lovitt. I just wrote some JavaScript that ties it together.

It also makes use of the jQuery highlightTextarea plugin by Damien Sorel.

Pull requests, bug reports and so on are much appreciated. If you're a designer and fancy making this look pretty, feel free.

Running the App Locally

  • you'll need Ruby (1.9) and Rubygems.
  • git clone [email protected]:jackfranklin/JS-Regex.git
  • cd JS-Regex
  • bundle
  • shotgun -p 1234
  • open http://localhost:1234

Changelog

v0.0.2

  • remove text highlighting - unreliable and buggy
  • limit regex loop to 100 executions, fixes the infinite loop bug #3
  • allow user to add Regex options, closes #1

v0.0.1

  • initial release

js-regex-1's People

Contributors

jackfranklin avatar yawboakye avatar

Watchers

 avatar  avatar

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.