[bt-devel] regexes

Joachim Ansorg bt-devel@crosswire.org
Tue, 10 Feb 2004 14:03:18 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

> ^b      => this only gives me the verses that begin with the letter b
> not the words.

^ means beginning of line, which is a verse here.

> likewise
> ^b|' b'  => only gives be verses that begin with the letter b..

This searches for a verse beginning with a b or for 'b' (including '). To 
search for a single b just use b

To search for words beginning with a b use this:
	\bb
\b stands for characters seperating words, e.g. a tab, a space and so on. the 
So it's a word-delemiter followed by a b, which is a "b" at the beginning of 
a words :)
In the handbook we have some help how to use RegExps.

>
> I tried some others that don't really make sense and one crashed
> bibletime.. opps..

Can you tell me which ones so we can fix it?

Joachim
- -- 
<>< Re: deemed!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAKNaaEyRIb2AZBB0RAtBkAJ9LWxD4glOXISJ7YVrTz3/zoalXAACgsa/9
HnoyObirNmz21dLfKeJ0uHk=
=LS9G
-----END PGP SIGNATURE-----