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

Re: regexp help

Expand Messages
  • Erik Christiansen
    ... That fails here, also matching the fractional parts of the non-integers. The tweak of Ben Fritz s regex, on his second thread on this topic, seems to
    Message 1 of 7 , Jul 30, 2013
      On 30.07.13 10:25, Charles Campbell wrote:
      > Erik Christiansen wrote:
      > >123 123.0 123. 456 0.123 .123 789
      > Try...
      > /\<-\=[0-9]\+\ze\_s

      That fails here, also matching the fractional parts of the non-integers.
      The tweak of Ben Fritz's regex, on his second thread on this topic,
      seems to perform better, matching only the integers.

      Erik

      --
      If society fits you comfortably enough, you call it freedom.
      - Robert Frost

      --
      --
      You received this message from the "vim_use" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      ---
      You received this message because you are subscribed to the Google Groups "vim_use" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    Your message has been successfully submitted and would be delivered to recipients shortly.