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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>15103</bug_id>
          
          <creation_ts>2007-08-28 13:10:32 -0700</creation_ts>
          <short_desc>regexp removes chars when an escape sequence is unknown.</short_desc>
          <delta_ts>2007-08-28 13:37:35 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Derk-Jan Hartman">hartman.wiki</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1328</commentid>
    <comment_count>0</comment_count>
    <who name="Derk-Jan Hartman">hartman.wiki</who>
    <bug_when>2007-08-28 13:10:32 -0700</bug_when>
    <thetext>I ran into a case where all v&apos;s were removed from my text. I went trough all the scripts and found that one was doing a .replace(/[\t\v\u00a0\u2028\u2029]+/g, &apos; &apos;). Because Safari RegExp apparently doesn&apos;t know the \v (vertical tab), it instead opted to replace all my v&apos;s</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1326</commentid>
    <comment_count>1</comment_count>
      <attachid>16146</attachid>
    <who name="Derk-Jan Hartman">hartman.wiki</who>
    <bug_when>2007-08-28 13:12:30 -0700</bug_when>
    <thetext>Created attachment 16146
testcase of vertical tab matching

This test case, shows that when replacing vertical tab \v, matches normal v.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1325</commentid>
    <comment_count>2</comment_count>
    <who name="Derk-Jan Hartman">hartman.wiki</who>
    <bug_when>2007-08-28 13:34:30 -0700</bug_when>
    <thetext>Seems fixed in a nightly build. Original report was with Safari 3.0.2</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>16146</attachid>
            <date>2007-08-28 13:12:30 -0700</date>
            <delta_ts>2007-08-28 13:12:30 -0700</delta_ts>
            <desc>testcase of vertical tab matching</desc>
            <filename>replace_verticaltab.js.html</filename>
            <type>text/html</type>
            <size>288</size>
            <attacher name="Derk-Jan Hartman">hartman.wiki</attacher>
            
              <data encoding="base64">PG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC10eXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJz
ZXQ9dXRmOCI+CjxzY3JpcHQ+CnRyeSB7CiAgICBpZiAoJ3YnLnJlcGxhY2UoUmVnRXhwKCdbXFx2
XScpLCAnYm9vJykubGVuZ3RoICE9IDMpCiAgICAgICAgZG9jdW1lbnQud3JpdGUoJ1BBU1MnKTsK
ICAgIGVsc2UKICAgICAgICBkb2N1bWVudC53cml0ZSgnRkFJTCcpOwp9IGNhdGNoIChleGNlcHRp
b24pIHsKICAgIGRvY3VtZW50LndyaXRlKCdGQUlMOiAnICsgZXhjZXB0aW9uKTsKfQo8L3Njcmlw
dD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>