Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-01-2011, 09:59 PM   #1
arifzaman
Junior Member
arifzaman began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2011
Device: none
Error in Regexp documentation

Hello, [this is my first post here]

Unless I missed someting, there is an error in http://calibre-ebook.com/user_manual/regexp.html

After introducing character classes and wildcards, there is a "Note" in the "Hey Neat, this is starting to make sense" section. The note refers to the ".", which has not yet been introduced. In fact, after that the dot is regularly used.

Apparently in some edit, the introduction to the dot got removed. For first-timers this could be very very confusing.
arifzaman is offline   Reply With Quote
Old 03-01-2011, 10:26 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,807
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Moderator Notice

This post does not belong in Development. Please read the sticky in Development before considering a post there.
Thanks


The Calibre tracker http://bugs.calibre-ebook.com/is the place to report Bugs (includes documentation).
theducks is offline   Reply With Quote
Advert
Old 03-02-2011, 03:06 AM   #3
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
If you read the note carefully, you'll see that it introduces the dot. Not very thoroughly, but it does.
Manichean is offline   Reply With Quote
Old 03-02-2011, 06:03 AM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by arifzaman View Post
After introducing character classes and wildcards, there is a "Note" in the "Hey Neat, this is starting to make sense" section. The note refers to the ".", which has not yet been introduced. In fact, after that the dot is regularly used.

Apparently in some edit, the introduction to the dot got removed. For first-timers this could be very very confusing.
I know nothing about regex but to fair the "." is introduced in this "Note" you refer to.
Quote:
The character ”.” is another special character. It matches anything except linebreaks
DoctorOhh is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
removing articles from feeds with regexp Alexis Recipes 1 01-17-2011 07:44 PM
Multiple line regexp janvanmaar Calibre 19 11-02-2010 01:02 PM
Regexp and header/footer problems concern Calibre 0 02-07-2010 03:35 AM
Error in Calibre documentation kiklop74 Calibre 3 01-28-2009 09:54 PM


All times are GMT -4. The time now is 03:51 PM.


MobileRead.com is a privately owned, operated and funded community.