Hi, thank you for your answers, Jörg I think that StrMatcher is for implementing where you want to get information to be replaced on the string, not for parsing issues.
El dl., 16 nov. 2015 a les 21:38, Jörg Schaible (<[email protected]>) va escriure: > Benedikt Ritter wrote: > > > Hello, > > > > 2015-11-14 22:25 GMT+01:00 Anthony Brice <[email protected] > >: > > > >> I could be wrong, but I do believe StrSubstitor requires a prefix and > >> suffix. I don't think the class will replace variables that aren't in > the > >> map either, unless you write a custom StrLookup that returns an empty > >> string for variables not previously defined. > >> > > > > Yes, this is correct. The replace with blank could be implemented using a > > custom StrLookup. However, it is not possible to configure a > > StrSubstitutor to use only a starting character. > > End "character" could be any non-alphanum character. Isn't it what the > StrMatcher could be used for? > > Cheers, > Jörg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
