Project

General

Profile

  • svn:executable: *

# Date Author Comment
11970 01/20/2014 11:33 AM Aaron Marcuse-Kubitza

moved everything into /trunk/ to create the standard svn layout, for use with tools that require this (eg. git-svn). IMPORTANT: do NOT do an `svn up`. instead, re-use your working copy's existing files with `svn switch` (http://svnbook.red-bean.com/en/1.6/svn.ref.svn.c.switch.html).

10348 07/19/2013 11:40 AM Aaron Marcuse-Kubitza

bugfix: bin/repl: text mode: repurpose this to match SQL identifiers, for use by inputs/input.Makefile %/postprocess.sql. %/postprocess.sql is the only place currently using this mode, so this will not affect other scripts.

10283 07/14/2013 05:52 AM Aaron Marcuse-Kubitza

bugfix: bin/*: spell out [:alnum:] as [a-zA-Z0-9] because Python unfortunately doesn't support character classes

10278 07/14/2013 02:44 AM Aaron Marcuse-Kubitza

bin/*: replaced confusing regexp constructs involving \W inside [] with the much clearer explicit character class [:alnum:] . this avoids adding or subtracting from an inverted class in order to reach a subset of the corresponding positive class, because the subset can just be named explicitly instead.

10277 07/14/2013 02:38 AM Aaron Marcuse-Kubitza

bugfix: bin/repl: doesn't make sense to use other chars in a [^\W_] regexp, because they will have no effect since \w doesn't include the other chars to begin with. this is a result of confusion with the ^ and \W double negative.

9785 06/09/2013 12:37 PM Aaron Marcuse-Kubitza

bin/repl: added unescape_html() filter function, which can be specified as the replacement string

9784 06/09/2013 12:35 PM Aaron Marcuse-Kubitza

bin/repl: support Unicode characters in the matched portion of the string

8740 04/30/2013 03:18 PM Aaron Marcuse-Kubitza

bin/repl: skip header instead of parsing it, since its columns are not used. this also allows using just a blank line as the header when the column names are not important.

6713 12/10/2012 06:00 PM Aaron Marcuse-Kubitza

repl: :-prefixing of words to form vars: Fixed bug where : must be matched as a lookbehind assertion, not a capturing group, because the provided regexp itself or its replacement may reference capturing groups, which it expects to be numbered starting with 1

6702 12/07/2012 05:47 PM Aaron Marcuse-Kubitza

repl: text mode: Also match "vars" with the term prefixed by ":". Consider .- to be word characters. Only match a word when preceeded by whitespace or CSV field start characters.

6701 12/07/2012 05:41 PM Aaron Marcuse-Kubitza

repl: column mode: Removed parsing and checking of column name, which prevents using repl for general-purpose regexp/word replacement

4357 08/30/2012 08:05 AM Aaron Marcuse-Kubitza

repl: Support treating all patterns as plain text (non-regexp)

1705 03/29/2012 09:59 PM Aaron Marcuse-Kubitza

ch_root, repl, map: Use new maps.col_info() instead of parsing col name manually. This allows maps with prefixes containing ":" to be supported, without the ":" being misinterpreted as the label-root separator.

1229 03/02/2012 05:26 PM Aaron Marcuse-Kubitza

repl: Removed automatic case-insensitivity because Python apparently only supports turning on case-insensitivity via (?i) but not off via (?-i) (as Java does)

686 01/28/2012 12:40 PM Aaron Marcuse-Kubitza

repl: All regexps are by default in multiline and ignore case mode

564 01/23/2012 10:20 AM Aaron Marcuse-Kubitza

repl: When matching words, treat _ as word boundary and ignore case.

358 01/03/2012 04:21 PM Aaron Marcuse-Kubitza

repl: Process whole file as one string so that regexps can match EOF for appending

274 12/22/2011 07:02 PM Aaron Marcuse-Kubitza

Renamed util to bin

268 12/22/2011 06:39 PM Aaron Marcuse-Kubitza

Moved everything in scripts to root. inputs_Makefile: Don't run "all" when installing.

216 12/20/2011 04:29 PM Aaron Marcuse-Kubitza

repl: Added support for blank lines. Only add whole word regexp code to inputs w/o any regexp metachars.

211 12/20/2011 03:54 PM Aaron Marcuse-Kubitza

repl: Fixed bug in reading arguments

210 12/20/2011 03:38 PM Aaron Marcuse-Kubitza

repl: Don't add whole-word regexp for inputs that already have regexp metachars

205 12/20/2011 02:57 PM Aaron Marcuse-Kubitza

Added repl to perform replacements on a spreadsheet or file