VerbalExpressions/GenieVerbalExpressions

Name: GenieVerbalExpressions

Owner: VerbalExpressions

Description: Genie regular expressions made easy

Created: 2016-03-01 11:47:23.0

Updated: 2017-09-30 09:21:51.0

Pushed: 2016-03-28 04:53:44.0

Homepage: null

Size: 9

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

GenieVerbalExpressions

Installation
c -c verbalexpressions.gs
Usage

var replace_me = "Replace bird with a duck"
var v = new VerEx
print v.find("bird").replace(replace_me, "duck")

var result = (new VerEx).find("red").replace("We have a red house", "blue")
print result
Acknowledgements

This is a port of the python version by inutvmi. Also, I am thankful for Zee`s answer at StackOverflow. Genie is a cool language that has a syntax similar to Python, but that is translated directly into C, adding OOP capabilities.

This is still a beta version, needs testing. Please contribute with comments or bug reports here at github.

You can view all implementations on VerbalExpressions.github.io


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.