This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 262839 - Regex not working properly
Summary: Regex not working properly
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 8.1
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
Depends on:
Reported: 2016-07-17 08:32 UTC by akarperien
Modified: 2016-07-17 08:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description akarperien 2016-07-17 08:32:00 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_77
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.77-b03

Reproducibility: Happens every time

  * Open Find in Projects, select Regex
  * Insert Regex =   <div class="bigcontent">
        <h2><a name="titlesection" id="titlesection">IMAGES</a></h2>
  *Click test using  <div class="bigcontent">
        <a name="titlesection" id="titlesection" href="#contents">abcd efg hi 123</a></h2>
 *Click Apply
  *Click Find using *.htm

  Says "No matching files were found"
   And "Warnings and Errors: requested subSequence has a big length (8721)>8192" along with several more lines with different values for (8721)      

 To find in file containing exactly the same text as the test and other files with similar text
Comment 1 akarperien 2016-07-17 08:33:50 UTC
Regex should be ((<h2>)(<a name="titlesection")(([\s\S])*)(<\/h2>))