GithubHelp home page GithubHelp logo

lpil / elixre Goto Github PK

View Code? Open in Web Editor NEW
101.0 6.0 10.0 589 KB

🦑 An Elixir regular expression editor & tester, with Elm

Home Page: http://elixre.lpil.uk/

License: GNU Affero General Public License v3.0

API Blueprint 5.44% Elixir 26.80% HTML 9.09% Makefile 1.45% Elm 45.12% CSS 7.18% Dockerfile 4.93%
regexes web elixir elm

elixre's Introduction

Elixre

An Elixir regular expression editor & tester.

A massive rip off of Michael Lovitt's Rubular.

Usage

# Print dev usage
make
# Start the app in dev mode
make start

# Run backend tests
mix test
# Run frontend tests
make elm-test-watch

Setup

Install Elixir and Node.

cd path/to/elixre

# Install the deps
npm i -g yarn
make install

Deployment

TODO

LICENCE

Elixre - An Elixir regular expression editor & tester
Copyright © 2015 - Present Louis Pilfold

This program  is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

elixre's People

Contributors

lau avatar lpil avatar scripttease avatar tomciopp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

elixre's Issues

Styling

  • SCSS compilation grunt task
  • SCSS written
  • Responsive (narrow)
  • Responsive (wide)

Deployed

  • 'build' grunt task created
  • Domain aquired
  • Live

Permalinks

One of the most useful features of http://rubular.com/ is the ability to get a permanent link to particular examples for posterity. I generally include a Rubular link as a comment with regular expressions in my Ruby code.

A quick search seems to suggest this feature has not yet been requested of Elixre. I took a shot and failed at adding this feature here. It looks like there is a new version in progress that is currently incomplete. I would be happy to give it another shot with some guidance!

Thanks for the useful tool ❤️

Create POST /regex route

For now have it accept a JSON encoded body which is an array, and then returns the array reversed.

Integration tests

  • Invalid regex
  • Valid regex with match
  • Valid matching regex starting with a space
  • Valid regex with multiple subjects
  • Valid regex with multi-line subject

Angular front end

  • Accept regex
  • Accept regex flags
  • Accept subject string
  • Optionally disable subject splitting on newline
  • Post to backend
  • Post to backend on keypress
  • Results displayed
  • Match highlighted in result subjects
  • Errors displayed
  • Display the regex in results

Broke link

Elixir RegEx documentation goes to github Docs instead of Hexdocs package

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.