Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #10875 > unrolled thread
| Started by | oldyork90 <oldyork90@yahoo.com> |
|---|---|
| First post | 2011-12-19 07:59 -0800 |
| Last post | 2011-12-20 19:22 -0500 |
| Articles | 8 — 6 participants |
Back to article view | Back to comp.lang.java.programmer
regex; ^ and $ oldyork90 <oldyork90@yahoo.com> - 2011-12-19 07:59 -0800
Re: regex; ^ and $ Lew <lewbloch@gmail.com> - 2011-12-19 08:09 -0800
Re: regex; ^ and $ bugbear <bugbear@trim_papermule.co.uk_trim> - 2011-12-19 16:29 +0000
Re: regex; ^ and $ oldyork90 <oldyork90@yahoo.com> - 2011-12-19 08:58 -0800
Re: regex; ^ and $ Roedy Green <see_website@mindprod.com.invalid> - 2011-12-19 14:44 -0800
Re: regex; ^ and $ Linus Flustillbe <admin@nacs.dyndns-office.com> - 2011-12-20 17:22 +0000
Re: regex; ^ and $ Arne Vajhøj <arne@vajhoej.dk> - 2011-12-20 12:25 -0500
Re: regex; ^ and $ Arne Vajhøj <arne@vajhoej.dk> - 2011-12-20 19:22 -0500
| From | oldyork90 <oldyork90@yahoo.com> |
|---|---|
| Date | 2011-12-19 07:59 -0800 |
| Subject | regex; ^ and $ |
| Message-ID | <a496fcef-d720-47ea-b2ea-76e504355334@h11g2000yqd.googlegroups.com> |
Perl guy learning Java. Java's use of including line boundaries arguments, ^ and $, in matcher, and then not using them in other string replace functions is fine I guess; I'll get used to it. I was wondering if there was a more perl like regex class out there that others might be using.
[toc] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2011-12-19 08:09 -0800 |
| Message-ID | <6353561.710.1324310998487.JavaMail.geo-discussion-forums@prfc16> |
| In reply to | #10875 |
On Monday, December 19, 2011 7:59:52 AM UTC-8, oldyork90 wrote: > Perl guy learning Java. > > Java's use of including line boundaries arguments, ^ and $, in > matcher, and then not using them in other string replace functions is > fine I guess; I'll get used to it. > > I was wondering if there was a more perl like regex class out there > that others might be using. 'Matcher' and 'Pattern' are what you got. What exactly do you mean by "perl like [sic]"? Of which "other string replace functions" do you speak? If you're talking about the 'String' class, it does not claim to be a full regex implementation as 'Matcher' and 'Pattern' do. In what respects _specifically_ do 'Matcher' and 'Pattern' fall short for you? If you really want to program in Perl, you might not want to use Java to do so. -- Lew
[toc] | [prev] | [next] | [standalone]
| From | bugbear <bugbear@trim_papermule.co.uk_trim> |
|---|---|
| Date | 2011-12-19 16:29 +0000 |
| Message-ID | <B5adnWOHA4zN-3LTnZ2dnUVZ7vydnZ2d@brightview.co.uk> |
| In reply to | #10875 |
oldyork90 wrote: > Perl guy learning Java. > > Java's use of including line boundaries arguments, ^ and $, in > matcher, and then not using them in other string replace functions is > fine I guess; I'll get used to it. It still trips me up. BugBear
[toc] | [prev] | [next] | [standalone]
| From | oldyork90 <oldyork90@yahoo.com> |
|---|---|
| Date | 2011-12-19 08:58 -0800 |
| Message-ID | <a0fd84ee-3b86-4993-b022-6955d4440768@o9g2000yqa.googlegroups.com> |
| In reply to | #10877 |
On Dec 19, 10:29 am, bugbear <bugbear@trim_papermule.co.uk_trim> wrote: > oldyork90 wrote: > > Perl guy learning Java. > > > Java's use of including line boundaries arguments, ^ and $, in > > matcher, and then not using them in other string replace functions is > > fine I guess; I'll get used to it. > > It still trips me up. > > BugBear I should always wait another hour before posting. I've answered my own question once again. :-) Here we go: http://jakarta.apache.org/oro/api/overview-summary.html
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2011-12-19 14:44 -0800 |
| Message-ID | <uhfve7lgo8bdu78c2quamr6g2cb7f82h2f@4ax.com> |
| In reply to | #10879 |
On Mon, 19 Dec 2011 08:58:43 -0800 (PST), oldyork90 <oldyork90@yahoo.com> wrote, quoted or indirectly quoted someone who said : >Here we go: http://jakarta.apache.org/oro/api/overview-summary.html for others see the links at http://mindprod.com/jgloss/regex.html -- Roedy Green Canadian Mind Products http://mindprod.com If you can't remember the name of some method, consider changing it to something you can remember.
[toc] | [prev] | [next] | [standalone]
| From | Linus Flustillbe <admin@nacs.dyndns-office.com> |
|---|---|
| Date | 2011-12-20 17:22 +0000 |
| Message-ID | <4ef0c460$0$16043$9a566e8b@news.aliant.net> |
| In reply to | #10885 |
On 2011-12-19, Roedy Green <see_website@mindprod.com.invalid> wrote: > On Mon, 19 Dec 2011 08:58:43 -0800 (PST), oldyork90 ><oldyork90@yahoo.com> wrote, quoted or indirectly quoted someone who > said : > >>Here we go: http://jakarta.apache.org/oro/api/overview-summary.html > > for others see the links at http://mindprod.com/jgloss/regex.html Thanks Roedy, I've been looking for a good reference site for regex. -- **************************************************************** * Usenet Impovement Project http://nacs.dyndns-office.com/usenet ****************************************************************
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2011-12-20 12:25 -0500 |
| Message-ID | <4ef0c507$0$284$14726298@news.sunsite.dk> |
| In reply to | #10905 |
On 12/20/2011 12:22 PM, Linus Flustillbe wrote: > On 2011-12-19, Roedy Green<see_website@mindprod.com.invalid> wrote: >> On Mon, 19 Dec 2011 08:58:43 -0800 (PST), oldyork90 >> <oldyork90@yahoo.com> wrote, quoted or indirectly quoted someone who >> said : >> >>> Here we go: http://jakarta.apache.org/oro/api/overview-summary.html >> >> for others see the links at http://mindprod.com/jgloss/regex.html > > Thanks Roedy, I've been looking for a good reference site for regex. Java docs actually provides a good overview: http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html Arne
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2011-12-20 19:22 -0500 |
| Message-ID | <4ef126bf$0$285$14726298@news.sunsite.dk> |
| In reply to | #10879 |
On 12/19/2011 11:58 AM, oldyork90 wrote:
> I should always wait another hour before posting. I've answered my
> own question once again. :-)
> Here we go: http://jakarta.apache.org/oro/api/overview-summary.html
http://jakarta.apache.org/oro/
ORO is Retired
As of 2010-09-01, the ORO project is retired. This is an archived site.
As there were no new features or releases planned in the future,
the Jakarta ORO project has been retired and moved to the Apache Attic.
No further ORO development or releases will happen at Jakarta.
Users are encouraged to use similar features in newer Java
versions, where available.
This site is kept online for archiving purposes only.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web