PIC is pattern matching system roughly based on Cobol Pictures. It serves as an alternative to Regular Expressions for common data format needs.
PIC['Z.99'].to_re #=> /\d*\.\d\d/
Currently PIC is very much in a state of "design development". It will take some time to workout the best correlations between picture and regular expression. Suggestions and patches welcome.
Copyright & License
Copyright (c) 2011 Trans, Rubyworks