in reply to Re^4: A sub named ∃
in thread A sub named ∃

\w is [_\p{IsAlpha}\p{IsNumeric].

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Replies are listed 'Best First'.
Re^6: A sub named ∃ ([^\W\d])
by tye (Sage) on Nov 30, 2006 at 22:10 UTC

    Or, more concisely, [^\W\d]; so identifiers match /\b[^\W\d]\w*\b/. Gosh, I love that trick. :)

    - tye        

      I wish I'd thought of that.

      ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Re^6: A sub named ∃
by vkon (Curate) on Nov 30, 2006 at 22:20 UTC
    Oh, I see. we were speaking oranges and green oranges...

    Still, my first sentence is valid (∃!~/\w/), but you're saying that's not enough for identifiers rule... but I was not intended to say that I am rediscovering identifier regexp!
    :)