Commits

Anonymous committed bb5b772

Convert the navigations from capturing to clustering.

"(...)" --> "(?....)" .

  • Participants
  • Parent commits 7af2470

Comments (0)

Files changed (2)

         {
             text => "Puzzles",
             url => "puzzles/",
-            expand => { re => q{^(MathVentures/|puzzles/|toggle\.html)}, },
+            expand => { re => q{^(?:MathVentures/|puzzles/|toggle\.html)}, },
             title => "Puzzles, Riddles and Brain-teasers",
             subs =>
             [
                 {
                     text => "Projects",
                     url => "open-source/projects/",
-                    expand => { re => "^(open-source/projects|jmikmod|rwlock|grad-fu)/", },
+                    expand => { re => "^(?:open-source/projects|jmikmod|rwlock|grad-fu)/", },
                     subs =>
                     [
                         {
                     text => "Anti Pages",
                     title => "Against Commonly Used but Bad Software",
                     url => "open-source/anti/",
-                    expand => { re => "^(no-ie|open-source/anti)/", },
+                    expand => { re => "^(?:no-ie|open-source/anti)/", },
                 },                
                 {
                     text => "Portability Libraries",
         {
             text => "Essays",
             url => "philosophy/",
-            expand => { re => "^(philosophy|prog-evolution|DeCSS)/", },
+            expand => { re => "^(?:philosophy|prog-evolution|DeCSS)/", },
             title => "Various Essays and Articles about Technology and Philosophy in General",
             subs =>
             [
                 {
                     text => "General Philosophy",
                     url => "philosophy/philosophy/",
-                    expand => { re => "^philosophy/(philosophy/|the-eternal-jew/)" },
+                    expand => { re => "^philosophy/(?:philosophy/|the-eternal-jew/)" },
                 },
             ],
         },

lib/MySectNavData.pm

     },
     {
         'id' => "puzzles",
-        'regex' => "^/(?:(?:puzzles|MathVentures)/|toggle.html)\$",
+        'regex' => q{^/(?:(?:puzzles|MathVentures)/|toggle.html$)},
         'class' => "Puzzles",
         'title' => "Puzzles Section Menu",
     },