diff --git a/examples/index.html b/examples/index.html
index 0283dcf32412fe05496b81fc47507bfb89b3bdb8..e1224fa9636c4b5197bfac71b8fef933bdaf3b06 100644
--- a/examples/index.html
+++ b/examples/index.html
@@ -249,9 +249,8 @@
var link = links[ file ];
var name = getName( file );
- var matchCandidates = ( tags[ file ] || [] ).slice();
- matchCandidates.push( file );
- var res = matchCandidates.join( ' ' ).match( exp );
+ if ( file in tags ) file += tags[ file ].join( ' ' );
+ var res = file.match( exp );
var text;
if ( res && res.length > 0 ) {