Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #22201
| From | Martin Gregorie <martin@address-in-sig.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: regex reserved chars |
| Date | 2013-02-07 21:17 +0000 |
| Organization | UK Free Software Network |
| Message-ID | <kf15kg$g9o$1@localhost.localdomain> (permalink) |
| References | <42t5h8d8ta5iq9nkfded0pvfl104cqhc77@4ax.com> <511300de$0$295$14726298@news.sunsite.dk> |
On Wed, 06 Feb 2013 20:18:19 -0500, Arne Vajhøj wrote:
> On 2/6/2013 7:28 PM, Roedy Green wrote:
>> I have always treated $ ( ) * + -. ? [ \ ] ^ { | }
>> as reserved regex chars.
>> I can't find any docs that say the list is different inside[ ].
>> is it?
>
> Typical it is.
>
> Regex syntax vary a bit between implementations.
>
> So one should study the documentation.
>
> java.util.regex.Pattern has an excellent JavaDoc.
>
That's normally the first place I look, but it doesn't answer Roedy's
question - apart, that is, from referring to the dead tree O'Reilly book.
Expanding the 'Character Classes' description in the Pattern class-level
documentation or linking to an online source would be more useful than
the implied suggestion of buying the book from Amazon and then waiting
for delivery.
--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
regex reserved chars Roedy Green <see_website@mindprod.com.invalid> - 2013-02-06 16:28 -0800
Re: regex reserved chars markspace <markspace@nospam.nospam> - 2013-02-06 16:54 -0800
Re: regex reserved chars Lew <lewbloch@gmail.com> - 2013-02-06 18:03 -0800
Re: regex reserved chars markspace <markspace@nospam.nospam> - 2013-02-06 18:10 -0800
Re: regex reserved chars Roedy Green <see_website@mindprod.com.invalid> - 2013-02-06 22:50 -0800
Re: regex reserved chars markspace <markspace@nospam.nospam> - 2013-02-07 09:32 -0800
Re: regex reserved chars Gene Wirchenko <genew@telus.net> - 2013-02-07 10:51 -0800
Re: regex reserved chars markspace <markspace@nospam.nospam> - 2013-02-07 11:53 -0800
Re: regex reserved chars Arne Vajhøj <arne@vajhoej.dk> - 2013-02-08 20:25 -0500
Re: regex reserved chars Arne Vajhøj <arne@vajhoej.dk> - 2013-02-08 20:32 -0500
Re: regex reserved chars Arne Vajhøj <arne@vajhoej.dk> - 2013-02-08 20:17 -0500
Re: regex reserved chars Roedy Green <see_website@mindprod.com.invalid> - 2013-02-06 23:06 -0800
Re: regex reserved chars Arne Vajhøj <arne@vajhoej.dk> - 2013-02-08 20:15 -0500
Re: regex reserved chars Lew <lewbloch@gmail.com> - 2013-02-09 10:43 -0800
Re: regex reserved chars Arne Vajhøj <arne@vajhoej.dk> - 2013-02-06 20:18 -0500
Re: regex reserved chars Martin Gregorie <martin@address-in-sig.invalid> - 2013-02-07 21:17 +0000
Re: regex reserved chars Jim Janney <jjanney@shell.xmission.com> - 2013-02-07 20:47 -0700
Re: regex reserved chars Martin Gregorie <martin@address-in-sig.invalid> - 2013-02-09 00:50 +0000
Re: regex reserved chars Arne Vajhøj <arne@vajhoej.dk> - 2013-02-08 20:06 -0500
Re: regex reserved chars markspace <markspace@nospam.nospam> - 2013-02-08 19:02 -0800
Re: regex reserved chars Nigel Wade <nmw@ion.le.ac.uk> - 2013-02-11 09:25 +0000
Re: regex reserved chars markspace <markspace@nospam.nospam> - 2013-02-11 07:16 -0800
Re: regex reserved chars Nigel Wade <nmw@ion.le.ac.uk> - 2013-02-11 17:12 +0000
Re: regex reserved chars Roedy Green <see_website@mindprod.com.invalid> - 2013-02-06 23:31 -0800
Re: regex reserved chars Robert Klemme <shortcutter@googlemail.com> - 2013-02-07 04:38 -0800
Re: regex reserved chars Arne Vajhøj <arne@vajhoej.dk> - 2013-02-08 20:02 -0500
csiph-web