dylex / anagrep Goto Github PK
View Code? Open in Web Editor NEWTest for anagrams with regular expressions
Home Page: http://hackage.haskell.org/package/anagrep
Test for anagrams with regular expressions
Home Page: http://hackage.haskell.org/package/anagrep
A Haskell library for matching permutations of regular expressions: http://hackage.haskell.org/package/anagrep And a command-line interface, useful for puzzle solving (e.g., which English word has one 'p', one 'q', and four vowels?): Usage: anagrep REGEXP [FILE]... Print lines in each FILE (or stdin) for which some permutation (anagram) matches the given REGEXP. REGEXP is a restricted regular expression that can contain the following patterns: Character matches x single literal character [aein-z] character set (any listed character) [^a-mou] negated character set (any character not listed) . any single character \x escape single literal character (no special meanings) Repeat modifiers - may only be applied to characters (above) {N,M} repeat character N-M times {N,} repeat character at least N times {N} equivalent to {N,N} ? equivalent to {0,1} * equivalent to {0,} + equivalent to {1,} Combination XY concatenation matches pattern X and Y in either order X|Y alternation matches pattern X or Y (X) grouping (only useful for alternation - note that successive grouped alternations involve a cross-product expansion and may be slow) Other regular expression features are not currently supported. Matching is always done on entire lines (like grep -x). Example: anagrep 'pq[aeiou]{4}' /usr/share/dict/words > opaque Flags: -b treat input as raw byte sequence (uses locale encoding by default) -i ignore case distinctions in patterns and data
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.