Skip to content

VerbalExpressions/GenieVerbalExpressions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

GenieVerbalExpressions

Installation

valac -c verbalexpressions.gs

Usage

init
    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

About

Genie regular expressions made easy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published