There are no reviews yet. Be the first to send feedback to the community and the maintainers!
Available on Hackage as: http://hackage.haskell.org/package/regex-genex The "genex" program finds all permutations of strings that matches every regular expressions specified in the command line, with full support for back references (\1 .. \9) and word boundaries (\b). The output is unsorted, but the order is deterministic across multiple runs: $ genex '\d' '[123abc]' # Must match both 1.00000000 "2" 1.00000000 "3" 1.00000000 "1" To enforce a fixed ordering for alternations, pipe the output to "sort -n": $ genex '(__|<>){1,3}' | sort -n 2.00000000 "<>" 2.00000001 "__" 4.00000002 "<><>" 4.00000003 "__<>" 4.00000006 "<>__" 4.00000007 "____" 6.00000010 "<><><>" 6.00000011 "__<><>" 6.00000014 "<>__<>" 6.00000015 "____<>" 6.00000026 "<><>__" 6.00000027 "__<>__" 6.00000030 "<>____" 6.00000031 "______" Output size and maximum string length are both capped at 65535 currently, but both can be raised if needed. Because genex generates matches lazily, we can use "head -n" to display only part of its output: genex '[abc]+[123]+.+' | head -n 10 Some caveats: - We translate * and + quantifiers into {0,3} and {1,4}, to make output appear more unique. - The set of . \D \W \S characters are limited to printable characters, again to make the output more pretty. - The ^ and $ anchors are taken to mean begin-of-line and end-of-line (implicit /m), since we already implicitly anchor on both ends. - No support yet for \l \u \L \U \Q \E (case and quotemeta modifiers) - No named Unicode properties or POSIX [[:upper:]] classes yet. Required Hackage libraries: sbv regex-tdfa stream-monad text Required binary in PATH: yices # Download it from http://yices.csl.sri.com/download-yices2.shtml You can directly run the Main.hs in the checkout directory as well: runghc Main.hs 'your regex here' Pre-built MacOSX binaries are in binaries/osx/; try "make test" for a sample run. Share and enjoy! Audrey
ethercalc
Node.js port of Multi-user SocialCalcnode-webworker-threads
Lightweight Web Worker API implementation with native threadslingua-sinica-perlyuyan
Perl in Classical Chinese in Perlarchive.tw
archive.twPugs.hs
Perl6 User's Golfing System in Haskellinterpolatedstring-perl6
QuasiQuoter for Perl6-style multi-line interpolated strings with q, qq and qc support.as3gif
AS3GIF lets you play and encode animated GIF's with ActionScript 3.network-multicast
[Haskell] The "Network.Multicast" module is for sending UDP datagrams over multicast (class D) addresses.moe
萌典字宙反應爐 — Hanzi Fusion Reactorpugs
A Perl 6 Implementationwikiwyg-js
Wikiwyg is a WYSIWYG browser editor framework for wikis. It is designed to be pluggable on top of existing wiki engines, with little or no change to the wiki engine's core software.node-sikuli-api
Sikuli standalone API binding for Node.jsdemocracy3-taiwan-mod
Democracy 3 Taiwan 2016 modmodule-signature
Module signature file manipulationquickcheck-regex
Generate regex-constrained strings for QuickChecknode-cluster-server
Simple multi-CPU cluster server manager for Node 0.6+jscex-jquery
Async/Await support for jQuery 1.5+encode-hanconvert
[Perl] Modules and scripts for Traditional and Simplified Chinese mappingsapp-uni
Command-line utility to grep UnicodeData.txtopenafp
[Haskell] IBM AFP document format parser and generatorplack-middleware-sizelimit
Terminate processes if they grow too largewikicalc
Dan Bricklin's wikiCalcstring-qq
QuasiQuoter for non-interpolated, overloaded stringswordnet
livehousein2slack
Pipe Livehouse.in chatroom message into Slack channelUnicode-EastAsianWidth
Release history of Unicode-EastAsianWidthpdf2line
[Haskell] Simple command-line utility to convert PDF into textselfvars
Provide $self, @args and %opts variables for OO programsi18n-pm
i18n - Perl Internationalization Pragmapad2an
Converts Hackpad-compatible HTML to Akoma Ntosopgre.st
PgREST landing pagedevel-hints
Access compile-time hints at runtimeopenafp-utils
Assorted utilities to work with AFP data streamsregex-pcre-builtin
The PCRE backend to accompany regex-base, with bundled code from www.pcre.orgatom-language-gcode
G-Code Grammar for Atom.ioYiJing
Release history of YiJingethercalc-log
Log viewer and restoration tool for EtherCalcpolis-tally
Tally Pol.is export formatmethods
Provide method syntax and autoclean namespacesletris-solver
Simple Letris Solverfindbin
[Haskell] Locate the directory of original programsnapper
Micro web application framework built on Haskell's Snap frameworkuse
Import several modules with a single use statementhssyck
[Haskell] Fast, lightweight YAML loader and dumpernamepass
Random password generator based on memorizable Chinese namesparse-afp
Parser for IBM's Advanced Function Printing document formatournet-bbs
Component Object Model for BBS systemsedugame
A chinese card game invented by Bestian Tangq-jscex
Async/Await syntax support for Q promisesTest-use-ok
Release history of Test-use-okimage-jpegtran-auto
Losslessly fix JPEG orientationmoosex-types-buf
Moose type definitions for Byte buffersline2pdf
[Haskell] Simple command-line utility to convert text into PDFethercalc.net
http://ethercalc.net/socialtext-open
Mirror of the "master" branch from Socialtext Open repository.node-uax11
Convert between full/half-width ASCII characterspdf2md
PDF to Markdownconnect-csv
Connect middleware for accepting text/csv data typestringtable-atom
[Haskell] Memoize Strings as Atoms for fast comparison and sorting, with maps and setsMoeDict.hs
Haskell Utilities working with MoeDict.tw JSON datasetpo-tools
PO file tools in Haskellmodule-package-au
Reusable Module::Package bitsbatbone
Batman-esque framework built on Backbonetie-discovery
[Perl] Lazily evaluated "discovery" hashespegex-coffee
Pegex.pm port to CoffeeScriptmoosex-types-unistr
Moose type definitions for Unicode stringsPDF-FromHTML
Release history of PDF-FromHTMLsheetnode
Read-only mirror of https://drupal.org/project/sheetnodeprocess-sizelimit-core
Re-packaging Apache::SizeLimit::Core into its own distributiongcin-voice-data
GCIN Mandarin Pronounciation Data from Edward Der-Hua Liuquickcheck-relaxng
Generate RelaxNG-constrained XML documents for QuickChecktw.ethercalc.net
http://tw.ethercalc.net/slash-ournet
Web Interface for OurNet::BBSacme-hello
Print a greeting messageTerm-ANSIScreen
Release history of Term-ANSIScreenconvert-eastasianwidth
Convert between full- and half-width charactersuc_option_image
Drupal 7 port of Ubercart's "Option Image" pluginLith-Summer2012-Scripts
立思 2012 夏天愛思考系列講座相關程式youtubevideog
Youtube video player gadgettlearn
Drupal Module for online learningemsg
PDF-Template-PDFAPI2
Release history of PDF-Template-PDFAPI2Lingua-EN-Inflect-Number
Release history of Lingua-EN-Inflect-Numberflickr-igoogle
Display images from any Flickr account on iGoogle. (Fork from chinsonyeh's google code project under GPLv3.)ttf2gis
Convert TrueType font to PostGIS tablereact-odp-json
Convert ODP to JSON for react-odpisism.net
Restored backup of upsaid blog poststapx-harness-socialtext
ST extended TAP::HarnessTimePiece
A simple tile-based digital clock screen saver written in Haskell + SDLText-LevenshteinXS
An XS implementation of the Levenshtein edit distancetemplate-extract
Use TT2 syntax to extract data from documentsTPElineService
臺北市政府line服務locale-maketext-fuzzy
Maketext from already interpolated stringsDateTime-Functions
Release history of DateTime-Functionsflickrigoogle
Display images from any Flickr account on iGoogle. (Fork from chiWin32-Symlink
Release history of Win32-Symlinkmandaring
Ring of Mandarinlith-ddblock
Dynamic display blocksmallcheck-regex
Generate regex-constrained strings for SmallCheckconvert-geekcode
Convert and generate geek code sequencesLove Open Source and this site? Check out how you can help us