Loading ...
Sorry, an error occurred while loading the content.

Re: punct:]?

Expand Messages
  • Mikolaj Machowski
    ... Still, modulo behaviour is strange. m.
    Message 1 of 7 , May 27, 2005
    • 0 Attachment
      Dnia czwartek 26 maj 2005 19:39, A. J. Mechelynck napisaƂ:
      > > Interesting. I have simplified David's idea to::
      > >
      > > let i = 0
      > > while i < 10000
      > > if nr2char(i) =~ '[[:punct:]]'
      > > put =nr2char(i)
      > > endif
      > > let i += 1
      > > endwhile
      > >
      > > While in iso--8859-2 encoding (in Konsole) it works as ``i % 256``
      > > (modulo) up to 10000 and result has over 1800 lines, in gvim with
      > > utf-8 encoding it shows only punctuation signs up to 256 *once* with
      > > 48 lines of output.
      >
      > If it doesn't catch any character >256, it's by design.
      >

      Still, "modulo" behaviour is strange.

      m.
    Your message has been successfully submitted and would be delivered to recipients shortly.