From: Thomas S. <tho...@ui...> - 2011-06-30 18:35:53
|
maybe i should have done some more tries before posting, because now i solution that works much better for me. i dont really understand why, but if i leave title_short as it was the result seems satisfying: pattern_map.title_chop_slash_title.pattern_0 = (.+)/=>$1 title = 245ab, (pattern_map.title_chop_slash_title), first title_sub = 245b, (pattern_map.title_chop_slash_title), first title_short = 245a, first t. On Thu, 2011-06-30 at 20:11 +0200, Thomas Schwaerzler wrote: > hi again, > > i have another question. i have a catalog containing a lot of titles > with trailing slashes. > > for example: "Pravljice / " in marc 245a > > now i tried to remove those slashes by a simple pattern in > marc.properties: > > pattern_map.title_chop_slash.pattern_0 = (.+)/=>$1 > title = 245ab, (pattern_map.title_chop_slash), first > title_sub = 245b, (pattern_map.title_chop_slash), first > title_short = 245a, (pattern_map.title_chop_slash), first > > at first glance it worked, but for some reason if i have a record like > this: > > 245 0 0 |a Deklica s Prisoj ; |b Anže / |c Björnstjerne > Björnson ; prevedla France Kremžar in Ivan Čampa. > > > it looks good in the list (Search/Results), but the single record only > shows "Anže" (245b) > > possibly my pattern matches a little too much or maybe i should escape > the "/" > > maybe someone tried something similar and was more successful. > does there exist a documentation of the here used regex dialect? > > thanks > t. > > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > VuFind-General mailing list > VuF...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-general |