Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7521569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T02:15:55+00:00 2026-05-30T02:15:55+00:00

In the Oracle Pattern documentation there is the description of three different pattern for

  • 0

In the Oracle Pattern documentation there is the description of three different pattern for matching whitespace :

  1. \s
  2. \p{Space}
  3. \p{javaWhitespace}

I’m wondering what are the specificity of each and how to know how to choose the right one.
I’ve just noticed that \p{javaWhitespace} include more space type.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T02:15:56+00:00Added an answer on May 30, 2026 at 2:15 am

    I would rather use the first.

    • It is compact
    • It is the same notation in many other languages, as well as in theory of regexp
    • \p{javaWhitespace} include FILE SEPARATOR, GROUP SEPARATOR,etc… see this. Using it when these are not needed may confuse somebody else.
    • In general I would expect another programmer to know what \s is while I’ll expect them to double check what is the exact definition of \p{javaWhitespace}. You don’t want that, as it diminish code clarity and add unnecessary burden during debugging.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First, i'm read the documentation as follow http://download.oracle.com/javase/1.4.2/docs/api/java/util/regex/Pattern.html And i want find any punctuation
Oracle FAQ defines temp table space as follows: Temporary tablespaces are used to manage
I am using Oracle SQL and I want to group some different rows that
According to the documentation JAXB factory methods do not have arguments. Is there a
We have a system in which each thread (there can be dozens of them)
I am reading about the DAO design pattern on Oracle's website and I'm trying
I have a system which defines repeating patterns of days. Each pattern has a
Oracle 11g version of ODP.Net introduces the provider model objects (session state provider, identity
Oracle Forms10g provides a tool to convert the Oracle Forms modules, from the binary
Oracle is giving me an error (ORA-00907: missing right parenthesis) when I run this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.