We
relaunched the TWiki.org project
with an
expanded TWiki charter
, and we invite you to participate! The
TWiki.org Code of Conduct agreement
took effect on 27 Oct 2008. We ask existing twiki.org users to
opt-in
.
You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs.
--
PeterThoeny
- 27 Oct 2008
You are here:
TWiki
>
Codev Web
>
MetaParentShouldUseMinimalMatch
(29 Apr 2006,
SamHasler
)
Tags:
tag this topic
create new tag
,
view all tags
Bug: The META parent tag should use a minimal match
In the handleMetaTags file in TWiki.pm, the current implementation for %META{"parent"}% uses a maximal match. I think this should be minimal.
The code would look like:
$text =~ s/%META{\s*"parent"\s*(.*?)}%/&renderParent( $theWeb, $theTopic, $meta, $1 )/ge;
Test case
Any attempt to use META parent where another variable is evaluated after it on the same line will exhibit the problem.
Environment
TWiki version:
1Feb2003
TWiki plugins:
Server OS:
Web server:
Perl version:
Client OS:
Web Browser:
--
AllenBierbaum
- 11 Feb 2003
Follow up
This seems logical, and to lack any side-effects. So I'm converting this to a patch proposal.
--
CrawfordCurrie
- 20 Jul 2004
Fix record
ChangeProposalForm
TopicClassification
BugReport
TopicSummary
CurrentState
ReadyForMerge
OutstandingIssues
RelatedTopics
InterestedParties
ProposedFor
EdinburghRelease
TWikiContributors
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r4
<
r3
<
r2
<
r1
|
B
acklinks
|
R
aw View
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r4 - 29 Apr 2006 - 15:21:48 -
SamHasler
Log In
or
Register
Codev Web
Readme first
Developers News
Changes
Major Only
All Webs
RSS Feed
Search
Advanced
Topics of interest
Categories
All tags
?
/
My tags
Create New Topic
TWikiReleases
Georgetown
Feature Proposals
Bugs Changes
TWiki 4.2.4
TWiki community
TWiki marketing
TWiki advocacy
TWiki deployment
Dev questions
TWiki competition
Usability
Security
Community
How you can help
Community roles
Answer Support questions
Community
#twiki (IRC)
— logs
Meet others
Webs
Blog
Codev
Main
Plugins
Sandbox
Support
TWiki
TWiki01
TWiki02
TWiki03
TWiki04
TWiki04x01
TWiki04x02
edit left bar
TWIKI.NET
Codev
E
dit
A
ttach
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback