jakarta-regexp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCallum" <mich...@spinsoftware.com>
Subject Re: just a suggestion for regexp...
Date Mon, 12 Mar 2001 20:26:51 GMT
<FontFamily><param>Times New Roman</param><bigger>>

><smaller>Why not returning an index (-1 if does not match) in the RE.match() methods
instead of a boolean?<bigger>

>

Why would you want an index instead of a boolean value?


Michael


<nofill>
--- BEGIN GEEK CODE BLOCK ---
Version 3.12
GCS d+(-) s:- a-- C++(+++)$ UL++++(H)(S)$ P+++$ L+++$>++++
E--- W++ N++ o++ K? !w() O? !M V? PS+ PE+++ Y+ t+ 5++ X++ 
R(+) !tv b++(++++) D++ G>++ e++> h--()(*) r+ y+()
--- END GEEK CODE BLOCK ---

Mime
View raw message