Hi Frank,

no, the parser won't return the same, because leaving the second 
argument empty means "start with § and take whatever comes afterwards 
until the end of the document". This is why I think it does not make 
much sense.

In any case I'd suggest to use only one character for both arguments. It 
might work with multiple ones, but I'm not sure.

Best regards,

Mirko


On 01.11.2011 15:48, Dietze, Frank wrote:
> Hi Mirko,
> so I assume the parser to return the same result.
> Maybe in the second case only 1 character is allowed as delimiter?
>
> Cheers,
> Frank
>
> -----Original Message-----
> From: Mirko Seifert [mailto:[email protected]]
> Sent: Dienstag, 1. November 2011 15:42
> To: Dietze, Frank
> Cc: [email protected]
> Subject: Re: [EMFText-Users] Difference of notations
>
> Hi Frank,
>
> see comments below...
>
> On 01.11.2011 14:57, Dietze, Frank wrote:
>> Hi all,
>> I have found 2 opportunities to use keywords:
>>
>>   1. "§" myAttribute[]
>
> In this case "§" is a normal keyword and must appear in front of your
> attributes value.
>
>>   2. myAttribute['§','']
>
> This notation is used to denote that the value of the attribute must be
> enclosed in "§" and "". Using an empty string as second argument does
> not make much sense, but I think we kept this behavior to preserve
> backwards compatibility. Normally, you can use this to say that the
> attribute is enclosed by two delimiters. See Sect. 3.4.2 of the EMFText
> User Guide.
>
> Best regards,
>
> Mirko
>
>


-- 
Dr.-Ing. Mirko Seifert

Mirko Seifert - IT Consulting & Coaching
Swinemünder Str. 5
10435 Berlin

Tel   +49 1577 444 1168
Email [email protected]
_______________________________________________
emftext-users mailing list
[email protected]
http://mail-st.inf.tu-dresden.de/cgi-bin/mailman/listinfo/emftext-users

Reply via email to