Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
SQLite Backup command has wrong Regular Expression
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daniel Glaser  
View profile  
 More options Nov 12 2012, 8:06 am
From: Daniel Glaser <dgbe...@gmail.com>
Date: Mon, 12 Nov 2012 05:06:31 -0800 (PST)
Local: Mon, Nov 12 2012 8:06 am
Subject: SQLite Backup command has wrong Regular Expression

Hi,

in version sqlite-jdbc-3.7.2 ExtendedCommand class line 61 in package
org.sqlite, there is a problem with the regular expression when not
supplying a database (default should be main). It assumes two whitespaces
between "backup" and "to" if db is not given:

Pattern.compile("backup(\\s+(\"[^\"]*\"|'[^\']*\'|\\S+))?\\s+to\\s+(\"[^\"] *\"|'[^\']*\'|\\S+)");

Problem is here:
"backup(___\\s___+(\"[^\"]*\"|'[^\']*\'|\\S+))?___\\s___+to\\s+(\"[^\"]*\"| '[^\']*\'|\\S+)"

One of the occurences should be optional (pull the second one into the
second group and trim the result before quatation removal).

Cheers,
Daniel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Grace B  
View profile  
 More options Feb 18, 7:57 am
From: Grace B <grace.batum...@gmail.com>
Date: Mon, 18 Feb 2013 04:57:22 -0800 (PST)
Local: Mon, Feb 18 2013 7:57 am
Subject: Re: SQLite Backup command has wrong Regular Expression
 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Grace B  
View profile  
 More options Mar 2, 11:49 pm
From: Grace B <grace.batum...@gmail.com>
Date: Sat, 2 Mar 2013 20:49:00 -0800 (PST)
Subject: Re: SQLite Backup command has wrong Regular Expression

Nothing to fix here.

Unless you can give an example that does not work.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »