Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #14818

Re: simple regex pattern sought

From Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com>
Subject Re: simple regex pattern sought
Newsgroups comp.lang.java.programmer
References (2 earlier) <a2aeesF2s0U1@mid.individual.net> <jppch0$f18$1@dont-email.me> <a2c84rF3pmU1@mid.individual.net> <jpqri7$cl5$1@dont-email.me> <a2cbh0Fbj4U1@mid.individual.net>
Date 2012-05-26 10:07 -0700
Message-ID <rempy0kwlswk.15pwi33dd9ku2$.dlg@40tude.net> (permalink)

Show all headers | View raw


On Sat, 26 May 2012 17:34:49 +0200, Robert Klemme wrote:

> [...]
>> You're right about the rest of it though. With so many \'s floating
>> around, I have a hard time reading Java regex!
> 
> That's true for other languages as well

Not C#, which allows string literals to be prefaced with the @ symbol to
disable compiler escaping.

In fact, I'll bet C# wasn't the first language to have such a feature.
Surely there are many other languages that also avoid the issue.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

simple regex pattern sought Roedy Green <see_website@mindprod.com.invalid> - 2012-05-25 14:45 -0700
  Re: simple regex pattern sought markspace <-@.> - 2012-05-25 14:55 -0700
  Re: simple regex pattern sought Lew <lewbloch@gmail.com> - 2012-05-25 14:55 -0700
    Re: simple regex pattern sought markspace <-@.> - 2012-05-25 15:04 -0700
      Re: simple regex pattern sought Lew <noone@lewscanon.com> - 2012-05-26 14:07 -0700
        Re: simple regex pattern sought markspace <-@.> - 2012-05-26 18:34 -0700
          Re: simple regex pattern sought Lew <noone@lewscanon.com> - 2012-05-27 11:39 -0700
    Re: simple regex pattern sought Lew <lewbloch@gmail.com> - 2012-05-25 15:03 -0700
    Re: simple regex pattern sought Robert Klemme <shortcutter@googlemail.com> - 2012-05-26 00:12 +0200
      Re: simple regex pattern sought markspace <-@.> - 2012-05-25 18:43 -0700
        Re: simple regex pattern sought Robert Klemme <shortcutter@googlemail.com> - 2012-05-26 16:37 +0200
          Re: simple regex pattern sought markspace <-@.> - 2012-05-26 08:06 -0700
            Re: simple regex pattern sought Robert Klemme <shortcutter@googlemail.com> - 2012-05-26 17:34 +0200
              Re: simple regex pattern sought Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2012-05-26 10:07 -0700
      Re: simple regex pattern sought Roedy Green <see_website@mindprod.com.invalid> - 2012-05-26 06:19 -0700
        Re: simple regex pattern sought markspace <-@.> - 2012-05-26 07:19 -0700
        Re: simple regex pattern sought markspace <-@.> - 2012-05-26 07:57 -0700
          Re: simple regex pattern sought Robert Klemme <shortcutter@googlemail.com> - 2012-05-26 17:13 +0200
            Re: simple regex pattern sought markspace <-@.> - 2012-05-26 10:08 -0700
              Re: simple regex pattern sought Roedy Green <see_website@mindprod.com.invalid> - 2012-05-26 14:14 -0700

csiph-web