<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>19654</bug_id>
          
          <creation_ts>2012-10-22 07:36:30 +0000</creation_ts>
          <short_desc>Extensions to regular expression capabilities</short_desc>
          <delta_ts>2012-10-22 08:17:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Requirements for Future Versions</component>
          <version>Working drafts</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>wys01</reporter>
          <assigned_to name="Jim Melton">jim.melton</assigned_to>
          <cc>mike</cc>
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>76892</commentid>
    <comment_count>0</comment_count>
    <who name="">wys01</who>
    <bug_when>2012-10-22 07:36:30 +0000</bug_when>
    <thetext>The current regular expression functions allow you to pass in flags to alter the regular expression processing. One of these flags implemented in Saxon is the exclamation mark to indicate that the regular expression be treated as a Java regular expression rather than one conforming to the current specification.

It would be good to have a standard way of extending or switching the regular expression syntax/processing engine that would not be implementation specific.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76893</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-10-22 08:17:47 +0000</bug_when>
    <thetext>I agree (despite being slightly embarrassed to have this &quot;easter egg&quot; exposed in public). 

I would suggest

flags ::= standard-flags ( &apos;;&apos; imp-def-flags )?

standard-flags ::= [imsx]

imp-def-flags ::= .*

where the effect of imp-def-flags on the syntax and semantics of the regular expression is implementation-defined.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>