← Back to team overview

simple-scan-team team mailing list archive

[Bug 682292] Re: xdg-email:awk: line 15: regular expression compile failed (bad class -- [], [^] or [)

 

[Expired for Simple Scan because there has been no activity for 60
days.]

** Changed in: simple-scan
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Simple
Scan Development Team, which is the registrant for Simple Scan.
https://bugs.launchpad.net/bugs/682292

Title:
  xdg-email:awk: line 15: regular expression compile failed (bad class
  -- [], [^] or [)

Status in Simple Scan:
  Expired

Bug description:
  When using simple scan I get the next error from xdg-email

  ./xdg-email.org --attach xdg-email
  awk: line 15: regular expression compile failed (bad class -- [], [^] or [)
  [@a-zA-Z0-9.-\\
  awk: line 15: syntax error at or near ]
  awk: line 17: syntax error at or near else
  awk: line 20: syntax error at or near }

  fix for xdg-email is:
  -            } else if ( c ~ /[@a-zA-Z0-9.-\\/]/ ) {
  -                e = e c
  +            } else if ( c ~ /[@a-zA-Z0-9.\-\/]/ ) {
  +               e = e c
               } else {

To manage notifications about this bug go to:
https://bugs.launchpad.net/simple-scan/+bug/682292/+subscriptions