You are viewing a plain text version of this content. The canonical link for it is here.
Posted to regexp-user@jakarta.apache.org by kooboy <gk...@gmail.com> on 2011/01/06 12:14:24 UTC

[ANNOUNCEMENT] jakarta RE.ReplaceAll is same as JDK String.ReplaceAll?

Hi
 I'm trying to migrate from org.apache.regex.RE to JDK Regularexpression.
Some parts of my old code uses
 RE.ReplaceALL , I want to replace this methods with String.ReplaceAll  are
these both same? as I don't find parellel method of  subst() from
org.apache.regex  in jdk1.4  regex package.

Thanks for your help
Anand
-- 
View this message in context: http://old.nabble.com/jakarta-RE.ReplaceAll-is-same-as-JDK-String.ReplaceAll--tp30604268p30604268.html
Sent from the Jakarta Regexp - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: regexp-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: regexp-user-help@jakarta.apache.org


Re: [ANNOUNCEMENT] jakarta RE ReplaceAll is same as JDK String.ReplaceAll?

Posted by Rahul Akolkar <ra...@gmail.com>.
On Thu, Jan 6, 2011 at 5:32 PM, DSEyers <ds...@ntlworld.com> wrote:
>
> Only replied to the message via the forum web page, did not change subject or
> anything.  Can not see the marker you mention.  Where is that set exactly?
>
<snip/>

Strange, see list archives, for example:

  http://mail-archives.apache.org/mod_mbox/jakarta-regexp-user/201101.mbox/browser

-Rahul

---------------------------------------------------------------------
To unsubscribe, e-mail: regexp-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: regexp-user-help@jakarta.apache.org


Re: [ANNOUNCEMENT] jakarta RE ReplaceAll is same as JDK String.ReplaceAll?

Posted by DSEyers <ds...@ntlworld.com>.
Only replied to the message via the forum web page, did not change subject or
anything.  Can not see the marker you mention.  Where is that set exactly?


Rahul Akolkar wrote:
> 
> Please do not use the [ANNOUNCEMENT] subject marker unless its an
> announcement.
> 
> -Rahul
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: regexp-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: regexp-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/jakarta-RE-ReplaceAll-is-same-as-JDK-String.ReplaceAll--tp30604268p30609722.html
Sent from the Jakarta Regexp - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: regexp-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: regexp-user-help@jakarta.apache.org


Re: [ANNOUNCEMENT] jakarta RE ReplaceAll is same as JDK String.ReplaceAll?

Posted by Rahul Akolkar <ra...@gmail.com>.
Please do not use the [ANNOUNCEMENT] subject marker unless its an announcement.

-Rahul

---------------------------------------------------------------------
To unsubscribe, e-mail: regexp-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: regexp-user-help@jakarta.apache.org


Re: [ANNOUNCEMENT] jakarta RE ReplaceAll is same as JDK String.ReplaceAll?

Posted by DSEyers <ds...@ntlworld.com>.
Yes you can use this, but you should do some quick tests, very easy!  Also
look at the Javadoc for the method.

You can also get tools which you can try regex with e.g. RegEx Buddy trial
and some other free ones.
-- 
View this message in context: http://old.nabble.com/jakarta-RE-ReplaceAll-is-same-as-JDK-String.ReplaceAll--tp30604268p30605254.html
Sent from the Jakarta Regexp - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: regexp-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: regexp-user-help@jakarta.apache.org