Yes rows starting with |-- is the table are treared as ignorable. Either leave a space before the -- or change the ExamplesTableIgnorableSeparator via the i18n keywords.
Cheers On 9 Nov 2012, at 01:17, Pascal Rapicault <[email protected]> wrote: > The complete example is quite simple (see below). > I think the issue is coming from the -- which I believe is treated like the > beginning of a comment. > > Given eclipse > Then the vmarg should be <vmarg> > Examples: > |vmarg| > |--launcher.appendVMargs| > |-Xms512m| > |-Xmx768m| > > -----Original Message----- > From: Alexander Lehmann [mailto:[email protected]] > Sent: November-08-12 5:37 PM > To: [email protected] > Subject: [jbehave-user] Re: Escaping -- values > > I don't think there is an escape character, you can redefine the table > separator chars though, that should solve the problem. (unless I > misunderstood what you need to, can you post an example then?) > > On 08.11.2012 23:26, Pascal Rapicault wrote: >> Hello, >> >> In an example table one value that I need to test for starts with a >> double dash (e.g. --launcher.appendVmargs). I've tried escaping the >> dash with a backslash but then the value being tested is \-- >> launcher.appendVmargs which does not help. >> >> What is the escape character? >> >> Thx >> >> Pascal >> > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
