Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: markspace Newsgroups: comp.lang.java.programmer Subject: Re: regex reserved chars Date: Wed, 06 Feb 2013 18:10:45 -0800 Organization: A noiseless patient Spider Lines: 23 Message-ID: References: <42t5h8d8ta5iq9nkfded0pvfl104cqhc77@4ax.com> <97897683-a69c-430a-a3de-90f2faeed82f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 7 Feb 2013 02:10:21 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="fba3415ba68d85d643935af2f52f0b4b"; logging-data="28075"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19g3GT14XqpCq48bEwULM4V3CJRCqJ95L4=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: <97897683-a69c-430a-a3de-90f2faeed82f@googlegroups.com> Cancel-Lock: sha1:ktjIXBR2HaLqxUyXCWKMTNYa58Y= Xref: csiph.com comp.lang.java.programmer:22187 On 2/6/2013 6:03 PM, Lew wrote: > markspace wrote: >> Learn to STFW. >> >> I really hate to use language like that, but Jesus Roedy are you kidding me? > > http://lmgtfy.com/?q=Regular+expression+metacharacters+character+class My point was that Roedy is a Java programmer post in a Java newsgroup, and he didn't even look at the existing Java docs for regex patterns. I just can't even conceive why Roedy would post such a question. I wasn't even going to post the lmgtfy link because the Java docs are such an obvious solution. That said the first link when I do Google is a really excellent discussion exactly how character classes and meta-characters work, with even different flavors of regex discussed (Posix is a bit different, the others seem the same.)