Permalink
Commits on Sep 8, 2016
  1. Merge pull request #4 from purcell/master

    Use region as sample text if active
    committed on GitHub Sep 8, 2016
Commits on Nov 4, 2013
  1. Merge pull request #1 from purcell/patch-1

    Fix misaligned match results with perl backend
    committed Nov 4, 2013
  2. Merge pull request #2 from purcell/patch-2

    Escape quotes and matched backslashes in perl match results
    committed Nov 4, 2013
Commits on Mar 28, 2013
  1. Merge pull request #3 from purcell/patch-3

    Fix file headers and footer for ELPA compatibility
    committed Mar 28, 2013
  2. Fix file headers and footer for ELPA compatibility

    These fixes allow `package-install-file` to install this library.
    purcell committed Mar 28, 2013
Commits on Jul 20, 2012
  1. Escape quotes and matched backslashes in perl match results

    When matching text containing backslashes, e.g. "\n", the "Group" output will display this as a newline. To prevent this, we have perl escape any backslashes in the group output so that 'read will handle the expression correctly.
    
    Further, if the matched text contains double quotes, the resulting sexp printed by the perl program is invalid, and so the `*Groups*` buffer is empty. This commit also fixes this second issue.
    purcell committed Jul 20, 2012
  2. Fix misaligned match results with perl backend

    Consider this source text:
    ```
    98.249.190.144 - - [19/Jul/2012:20:33:04 +0200] "GET /news/8603-exclusive-jack-johnson\xD3sets2.looktothestars.org/photo/1303-oxfam/tiny_square.jpg?1263992329 HTTP/1.1" 404 322 "http://www.looktothestars.org/?lang=it" "Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US)"
    98.249.190.144 - - [19/Jul/2012:20:33:04 +0200] "GET /cause/5-educat-tweet HTTP/1.1" 301 113 "http://www.looktothestars.org/?lang=en" "Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US)"
    98.249.190.144 - - [19/Jul/2012:20:33:04 +0200] "GET /2064 HTTP/1.1" 404 322 "http://www.looktothestars.org/?lang=hu" "Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US)"
    98.249.190.144 - - [19/Jul/2012:20:33:04 +0200] "GET /news/2601-dionne-warwicisteneradata, HTTP/1.1" 301 154 "http://www.facebook.com/plugins/like.php?href=http://www.looktothestars.org/news/2601-dionne-warwick-and-sinbad-headline-charity-event&send=false&layout=button_count&width=125&show_faces=false&action=recommend&colorscheme=light&font&height=21" "Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US)"
    98.249.190.144 - - [19/Jul/2012:20:33:04 +0200] "GET /celebrity/tweet HTTP/1.1" 404 9 "http://www.looktothestars.org/?lang=fil" "Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US)"
    ```
    
    and the regex:
    
    ```
    (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) \S+ \S+ \[.*?\] "GET [^? ]*(?:\\x|\/\.\.?\/|[=,:\}\{\(\)])\S*? HTTP\/1\.1"
    ```
    
    The second highlighted match (on line 4) does not match the beginning of the line. When matching in a large text, the highlighted matches become progressively more misaligned as one moves later in the text.
    
    This commit fixes the issue.
    purcell committed Jul 20, 2012
Commits on May 10, 2012
  1. Added autoload cookie

    committed May 10, 2012
Commits on Apr 5, 2010
  1. Removed data subdirectory

    committed Apr 5, 2010
Commits on Sep 16, 2008
Commits on Aug 30, 2008
  1. Added a TODO file.

    committed Aug 30, 2008
  2. Began keeping version control.

    committed Aug 30, 2008