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 201273 - Find in files regex helper/tester
Summary: Find in files regex helper/tester
Status: RESOLVED WORKSFORME
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P4 normal with 1 vote (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on: 206557
Blocks:
  Show dependency tree
 
Reported: 2011-08-24 10:14 UTC by monk.e.boy
Modified: 2013-09-04 14:21 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description monk.e.boy 2011-08-24 10:14:26 UTC
Hi,

  My regex foo is poor. Can we have a 'test your regex' in the find in files dialog.

  When I'm searching for HTML tags that have a class I have no idea if my regex is working properly:

Searching for HTML tags that match the css definition: form.inline
Search string: 'inline'

needs to match:

<form class="inline"
<form class="another class inline class2"
<form class='inline'
<form
    id="foo"
    class="inline"

etc.

Somehow I need to write the regex without testing it or debugging it. So this function is useless for us non-big-brains.

Request 2: Would like to be able to right click in my .css file in the following definition:

form.inline {
  display: inline;
  color: grey;
}

and say 'find all matching tags in project'.
Comment 1 Jaroslav Havlin 2013-09-04 14:21:56 UTC
Hello,

the 'test your regexp' feature is available in Find in Projects dialog
in the current NetBeans version (7.3 or newer).

For Request 2, please report a separate issue for component web/CSS Editor.

Thank you for reporting.