close
Warning:
Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Feb 3, 2016, 10:47:13 AM (9 years ago)
- Author:
-
Pedro Gea
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v3
|
v4
|
|
25 | 25 | #!sql |
26 | 26 | UPDATE tolsch.wiki a |
27 | | SET text = regexp_replace(a.text, '<LEFT-MENU>.*</LEFT-MENU>', m.lmenu) |
| 27 | SET text = regexp_replace(a.text, '<LEFT-MENU>.*?</LEFT-MENU>', m.lmenu) |
28 | 28 | FROM ( |
29 | 29 | SELECT name, Max(version) as version |
… |
… |
|
32 | 32 | GROUP BY name |
33 | 33 | ) av, ( |
34 | | SELECT (regexp_matches(text, '<LEFT-MENU>.*</LEFT-MENU>'))[1] as lmenu |
| 34 | SELECT (regexp_matches(text, '<LEFT-MENU>.*?</LEFT-MENU>'))[1] as lmenu |
35 | 35 | FROM tolsch.wiki b, ( |
36 | 36 | SELECT Max(version) as version |