• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: digit not followed by a period
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: digit not followed by a period


  • Subject: Re: digit not followed by a period
  • From: Emmanuel <email@hidden>
  • Date: Sun, 11 Jan 2004 21:17:47 +0100

At 4:59 PM +0000 11/01/04, Rhostik wrote:
>But has the look-ahead assertion not been implemented? Where
>
>"\\d(?!\\.)"
>
> finds a digit not followed by a period. It doesn't work for me...

This should work:

"[0-9][^.]"

or that, if we want to match a final digit:

"[0-9]([^.]|$)"

In Smile's Enhanced Find menu, you have a convenient pop-up menu which lists all the metacharacters implemented in Smile's Regular expressions and their meanings.

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: digit not followed by a period
      • From: Rhostik <email@hidden>
References: 
 >Re: How can I display the number of records processed using a thermometer (From: Martin Orpen <email@hidden>)
 >Re: How can I display the number of records processed using a thermometer (From: Rhostik <email@hidden>)
 >Re: How can I display the number of records processed using a thermometer (From: Emmanuel <email@hidden>)
 >Re: How can I display the number of records processed using a thermometer (From: Rhostik <email@hidden>)

  • Prev by Date: Re: Unvirtual ambient photon quotient
  • Next by Date: Re: Elementary fie naming question
  • Previous by thread: Re: How can I display the number of records processed using a thermometer
  • Next by thread: Re: digit not followed by a period
  • Index(es):
    • Date
    • Thread