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 26474 - Documentation for regexp filters of WEB-INF node is wrong
Summary: Documentation for regexp filters of WEB-INF node is wrong
Status: RESOLVED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: JavaEE (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: Chris Kutler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-13 14:32 UTC by Alexei Mokeev
Modified: 2004-03-05 16:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexei Mokeev 2002-08-13 14:32:23 UTC
Steps to reproduce:
1)Mount some web module and view properties of WEB-INF node.
2)Switch to archive tab and press "..." near "Filter" property
3)In "Property Editor" dialog select "Regular Expression" radio button and enter
*.txt in text field - it is colored red.
4)Press OK button and notice, that "Filter" value isn't changed.
Try other expressions, and notice, that any expression, wich begins from * is
colored red and ignored.
5)Open "Property Editor" dialog, press Help button and read:
"..Alternatively, you can specify a regular expression such as *.txt or Pro*."

So there is a conflict between Help and behaviour.

Well reproduced with S1S 4 update 1(build 020808_1)
Comment 1 _ rkubacki 2002-09-06 16:59:18 UTC
the value is colored with red color when pattern is not regular
expression. RE are different constructs than wildcards used in shell
for specifying filename. Help should be updated (it can be worth the
effort to check if this is already documented somewhere).

To given example: * denotes that some pattern can be repeated O or
more times but there is no pattern (before it)
Comment 2 leslie-robertson 2003-02-18 00:36:20 UTC
Fixed in the help.
Comment 3 Alexei Mokeev 2003-02-27 13:08:54 UTC
This bug is still reproduced with NetBeans dev. build 200302270100.
Also reproduced with S1S 5 Nevada build 030223
Reopened. 
Comment 4 _ rkubacki 2003-02-28 14:04:59 UTC
Documentation for filter property should make clear difference between
 common filter and regular expresion.

BTW: insets and resizing in this dialog doesn't work properly, Alex
can you file a new bug?
Comment 5 Alexei Mokeev 2003-03-03 10:00:20 UTC
Strange. I don't see any defects in resizing.(W2K and Linux with 
fvwm2). May be order of internal panels should be changed but I am not
sure.
Comment 6 _ rkubacki 2003-03-03 10:25:22 UTC
label filtering hasn't insets. After resize it should be tied to top.
Comment 7 Alexei Mokeev 2003-03-03 10:58:15 UTC
New bug number is #31608. 
Comment 8 Chris Kutler 2003-03-18 21:46:11 UTC
Will investigate whether Leslie's fixes got into the build.
Comment 9 Chris Kutler 2003-03-31 14:46:11 UTC
Added wording that syntax is not the same as UNIX reg expression
syntax. The topic already points to a URL about the syntax.
Comment 10 Jason Rush 2003-08-10 23:47:41 UTC
Attempted to verify in NetBeans release 3.5.1 and I 
discovered the wording has been changed on the help page 
entitled "Editing Web Module Archive Properties".  However, 
the same property is described in the topic "Setting WEB-
INF Properties" and the wording has not been changed 
there.  The wording should probably be changed in both 
places.
Comment 11 Chris Kutler 2004-03-05 16:49:06 UTC
It is now changed in both places