Results 1 to 1 of 1
  1. #1
    tharhan is offline Member
    Join Date
    Apr 2008
    Posts
    1
    Rep Power
    0

    Default regular expression for unicode

    i want to write a regular expression that accept all java identifier charchters

    for the time being, str.match([a-zA-z]\\w*); is fine with me.

    but i need to make it accept other java identifiers like underscore and NON_ENGLISH charchters

    for english_arabic java identifiers i could use:
    str.match([a-zA-zء-ي][a-zA-zء-ي0-9]*);

    but what about other languages ?

    pls help
    Last edited by tharhan; 04-01-2008 at 11:55 PM.

Similar Threads

  1. Unicode problem
    By rovshanb in forum JDBC
    Replies: 0
    Last Post: 02-14-2008, 07:41 AM
  2. Regular expression for file path
    By ravian in forum New To Java
    Replies: 3
    Last Post: 01-25-2008, 09:24 PM
  3. Regular expression with Unions
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-09-2008, 01:03 PM
  4. Regular expression with Intersections
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-09-2008, 01:03 PM
  5. I can't find the right regular expression
    By romina in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 06:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •