public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcc/58886] regex with (?s) (valid in Java and boost) yields regex_error
       [not found] <bug-58886-4@http.gcc.gnu.org/bugzilla/>
@ 2013-10-26 12:00 ` bremende55 at gmail dot com
  2013-11-03  9:36 ` [Bug libstdc++/58886] " timshen at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: bremende55 at gmail dot com @ 2013-10-26 12:00 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58886

--- Comment #1 from Jo <bremende55 at gmail dot com> ---
compiler used:
g++ (GCC) 4.9.0 20131020 (experimental)

on SuSe Linux 12.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/58886] regex with (?s) (valid in Java and boost) yields regex_error
       [not found] <bug-58886-4@http.gcc.gnu.org/bugzilla/>
  2013-10-26 12:00 ` [Bug libgcc/58886] regex with (?s) (valid in Java and boost) yields regex_error bremende55 at gmail dot com
@ 2013-11-03  9:36 ` timshen at gcc dot gnu.org
  2013-11-03 12:37 ` paolo.carlini at oracle dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: timshen at gcc dot gnu.org @ 2013-11-03  9:36 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58886

Tim Shen <timshen at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timshen at gcc dot gnu.org

--- Comment #2 from Tim Shen <timshen at gcc dot gnu.org> ---
The default regex style is ECMAScript.

I didn't find any syntax that start with "(?s" in ECMA-262. Boost, however,
supports many extensions in its basic_regex_parser<>::parse_perl_extension()
function(probably for Perl style, I'm not sure), some of which are not included
in ECMAScript.

Following ECMA-262, we only support "(?=" "(?!" and "(?:".


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/58886] regex with (?s) (valid in Java and boost) yields regex_error
       [not found] <bug-58886-4@http.gcc.gnu.org/bugzilla/>
  2013-10-26 12:00 ` [Bug libgcc/58886] regex with (?s) (valid in Java and boost) yields regex_error bremende55 at gmail dot com
  2013-11-03  9:36 ` [Bug libstdc++/58886] " timshen at gcc dot gnu.org
@ 2013-11-03 12:37 ` paolo.carlini at oracle dot com
  2013-11-04  1:08 ` timshen at gcc dot gnu.org
  2013-11-04  1:11 ` paolo.carlini at oracle dot com
  4 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-11-03 12:37 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58886

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Do we have any idea about Visual C++ and clang++? If this kind of extension is
really popular we may want to include it under gnu++11 only, like we did
another time.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/58886] regex with (?s) (valid in Java and boost) yields regex_error
       [not found] <bug-58886-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2013-11-03 12:37 ` paolo.carlini at oracle dot com
@ 2013-11-04  1:08 ` timshen at gcc dot gnu.org
  2013-11-04  1:11 ` paolo.carlini at oracle dot com
  4 siblings, 0 replies; 5+ messages in thread
From: timshen at gcc dot gnu.org @ 2013-11-04  1:08 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58886

--- Comment #4 from Tim Shen <timshen at gcc dot gnu.org> ---
(In reply to Paolo Carlini from comment #3)
> Do we have any idea about Visual C++ and clang++? If this kind of extension
> is really popular we may want to include it under gnu++11 only, like we did
> another time.

Both Visual Studio 2013 RC and clang 3.4 (with libc++) don't support "(?s)".


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/58886] regex with (?s) (valid in Java and boost) yields regex_error
       [not found] <bug-58886-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2013-11-04  1:08 ` timshen at gcc dot gnu.org
@ 2013-11-04  1:11 ` paolo.carlini at oracle dot com
  4 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-11-04  1:11 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58886

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Thanks Tim. Let's close this.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-04  1:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-58886-4@http.gcc.gnu.org/bugzilla/>
2013-10-26 12:00 ` [Bug libgcc/58886] regex with (?s) (valid in Java and boost) yields regex_error bremende55 at gmail dot com
2013-11-03  9:36 ` [Bug libstdc++/58886] " timshen at gcc dot gnu.org
2013-11-03 12:37 ` paolo.carlini at oracle dot com
2013-11-04  1:08 ` timshen at gcc dot gnu.org
2013-11-04  1:11 ` paolo.carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).