Skip to content
Commits on Nov 4, 2013
  1. Merge pull request #1 from purcell/patch-1

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

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

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

    Fix file headers and footer for ELPA compatibility

    purcell committed Mar 28, 2013
    These fixes allow `package-install-file` to install this library.
Commits on Jul 20, 2012
  1. @purcell

    Escape quotes and matched backslashes in perl match results

    purcell committed Jul 20, 2012
    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.
  2. @purcell

    Fix misaligned match results with perl backend

    purcell committed Jul 20, 2012
    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.
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
Something went wrong with that request. Please try again.