Note: Beware! Default reply-to is to the list.

On 29 August 2012 21:53, Anne Wainwright <anothera...@fables.co.za> wrote:
>                {'^Mrs?\.
> => '^\S+,'^\S+ => '^(?:S|J)r\.}
>
>            don't break names such as Mr. Jones, Mrs. Jones, Jones Jr.

>
> So I have the following to get my regex into a hash:
>
>     my  %regx = ('^isbn=>'^[0-9]{9,13}X?);  # my regex

Not that I know anything about this, but, given the example above,
shouldn't your regex be more like:

'^isbn=>'^\S+[0-9]{9,13}X?

That is, including the whitespace?

Sean
-- 
Sean Carte
DUT E-Repository Administrator
+27 72 898 8775
+27 31 373 2490
fax: 0866741254
ir.dut.ac.za
_______________________________________________
Za-pm mailing list
Za-pm@pm.org
http://mail.pm.org/mailman/listinfo/za-pm

posts also archived on Mail Archive
http://www.mail-archive.com/za-pm@pm.org/

Reply via email to