<?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>24308</bug_id>
          
          <creation_ts>2009-03-02 17:29:53 -0800</creation_ts>
          <short_desc>RegExp match fails on long strings but not on (slightly) shorter ones</short_desc>
          <delta_ts>2009-03-19 15:07:23 -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>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>18327</dup_id>
          
          <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="Barry Ferg">barryferg+webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>111938</commentid>
    <comment_count>0</comment_count>
    <who name="Barry Ferg">barryferg+webkit</who>
    <bug_when>2009-03-02 17:29:53 -0800</bug_when>
    <thetext>A large regexp (see attached) fails to match certain strings which differ from correctly matching strings only by length.  It should match both strings.  I tried removing portions of the regexp to see which parts are failing but was then unable to reproduce the bug, so the complexity of the regexp may be part of the issue.  This bug also occurs in Safari 3.2.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111939</commentid>
    <comment_count>1</comment_count>
      <attachid>28207</attachid>
    <who name="Barry Ferg">barryferg+webkit</who>
    <bug_when>2009-03-02 17:31:09 -0800</bug_when>
    <thetext>Created attachment 28207
Test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112001</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-03-03 08:50:56 -0800</bug_when>
    <thetext>See also: bug 24166, bug 18327, bug 21485. Some of these are probably duplicates.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112004</commentid>
    <comment_count>3</comment_count>
    <who name="Barry Ferg">barryferg+webkit</who>
    <bug_when>2009-03-03 09:04:14 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 21485 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114387</commentid>
    <comment_count>4</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2009-03-19 15:07:16 -0700</bug_when>
    <thetext>Duping to 18327</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114388</commentid>
    <comment_count>5</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2009-03-19 15:07:23 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 18327 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>28207</attachid>
            <date>2009-03-02 17:31:09 -0800</date>
            <delta_ts>2009-03-02 17:31:09 -0800</delta_ts>
            <desc>Test case</desc>
            <filename>testregexp.html</filename>
            <type>text/html</type>
            <size>1700</size>
            <attacher name="Barry Ferg">barryferg+webkit</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFs
Ly9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXRyYW5zaXRpb25h
bC5kdGQiPgo8aHRtbCB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94aHRtbCI+CjxoZWFk
PgoJPG1ldGEgaHR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