1) b) should read ...value="�-"
On 2021/03/01 18:58:08, Attila Horvath <attila.j.horv...@gmail.com> wrote: > All - two quick questions... > > 1) regex > > I am trying to use character range query in regex-pression like: > a)... > <xs: restriction base="xs:string"> > <xs:pattern value="[\x00-\x7F]{0,10}"/> > </cs:restriction> > |OR| > b)... > <xs: restriction base="xs:string"> > <xs:pattern value="[�-]{0,10}"/> > </cs:restriction> > - either way both throw error(s) re: invalid regex expression syntax. > - what is correct syntax for range of hex values? > > 2) my CSV files has CR/LF at end of last line in file > - when parsing, I get numerous warnings ultimately "left over data" > ...starting at byte xyz (0x0d0a...) > a) how to consume (parse) last two bytes and avoid warnings > b) how to reconstitute (unparse) so last two bytes are included > > Thx in advance > > Attila (newbie) >