GithubHelp home page GithubHelp logo

rlugojr / regexr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gskinner/regexr

0.0 2.0 0.0 828 KB

RegExr is a HTML/JS based tool for creating, testing, and learning about Regular Expressions.

Home Page: http://regexr.com/

License: MIT License

ApacheConf 0.20% JavaScript 82.99% HTML 5.82% CSS 10.98%

regexr's Introduction

RegExr

About

This is the source for RegExr.com RegExr is a HTML/JS based tool for creating, testing, and learning about Regular Expressions.

Build

RegExr uses Gulp to manage the build process.

To use

Note that this requires a familiarity with using the command line. The example commands shown are for use with the OSX Terminal.

Install dependencies

Node (v4.2.2 or greater is required):

# check the version via the command line
node -v

If your Node install is out of date, get the latest from NodeJS.org

After node is setup, install the other dependencies. You may want to familiarize yourself with the Node Packager Manager (NPM) before proceeding.

# Install the gulp command line utility globally
sudo npm install gulp -g

# Install all the dependencies from package.json
npm install

Development

Run gulp; to start a local develpoment server. gulp will also watch for changes in the local sass, javascript and static files.

Building

To prepare the site for a deploy run:

gulp build;

This command will:

  • Copy all required assets to the build/ folder.
  • Combine and minify the *.js files
  • Compile and minify the sass
  • Inject js/index.template.js into the index.html file
  • Minify the index.html file

Code Style

If you would like to contribute back to RegExr.com please send us pull requests. Please make sure they are well formatted and follow the style specified out in the existing files. Mainly just keep your white space as tabs, and all line breaks as \n.

regexr's People

Contributors

gskinner avatar wdamien avatar alundiak avatar antibland avatar bbodenmiller avatar

Watchers

Ray Lugo, Jr. 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.