View Single Post
Old 03-11-2014, 12:28 PM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,417
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@arspr: You should never use initial and ending spaces. For one thing, how would you know how many spaces characters are there at the start, or if there are space characters at the end? Use \s+ or if for some reason you want to match only the single space character and not tabs or other white space characters, use [ ]

@mrmikel: If you dont wish to use the list, just ignore it. I still dont see how it gets in the way.
kovidgoyal is offline   Reply With Quote