What is the escape character for DOT in java regex?

How to specify a dot character in a java regex?
. itself represents any character
\. is an illegal escape character

The regex engine needs to see \. but if you're putting it into a String literal in a .java file, you need to make it \\., as Rene said. This is because the compiler also uses \ as an escape character, so it will take the first \ as escaping the second one, and remove it, and the string that gets passed onto the regex will be \.

Similar Messages

  • What is the escape charcter for comma in csv flashvars?

    Hi,
    I do have a comma in my flashvar (csv format) value. The comma is getting interpreted as a separator and the value is getting split in the visualization. Is there a way to escape comma in flashvar csv formats?
    Thanks,
    bi_suresh

    The regex engine needs to see \. but if you're putting it into a String literal in a .java file, you need to make it \\., as Rene said. This is because the compiler also uses \ as an escape character, so it will take the first \ as escaping the second one, and remove it, and the string that gets passed onto the regex will be \.

  • How to find what is the patch no for my BI java  ?

    Note 1330884 recommends to apply the BI Java patch Support Package 18 Patch 50 for SAP NetWeaver 7.0 BI Java to your BI system.
    Two questions
    1) I want to know how to find the patch no for my installation ?
    2) where is the information for bi java ?  Below is the component info from my BI system. I dont see any BI JAVA component here ?
    thank you.
    I got the below from : http://<system>:<port>/monitoring/ComponentInfo
    Software Components 
    Vendor  Name  Version  Provider  Location  Applied 
    sap.com  ADSSAP  7.00 SP18 (1000.7.00.18.0.20081123153837)  SAP AG  SAP AG  20090515173903 
    sap.com  BASETABLES  7.00 SP18 (1000.7.00.18.0.20081123154558)  SAP AG  SAP AG  20090515171425 
    sap.com  BI-BASE-S  7.00 SP18 (1000.7.00.18.12.20090129073318)  SAP AG  SAP AG  20090518112357 
    sap.com  BI-IBC  7.00 SP18 (1000.7.00.18.0.20081124051700)  SAP AG  SAP AG  20090515180641 
    sap.com  BI-REPPLAN  7.00 SP18 (1000.7.00.18.0.20081125103147)  SAP AG  MAIN_APL70P18_C  20090515180729 
    sap.com  BI-WDALV  7.00 SP18 (1000.7.00.18.0.20081125103146)  SAP AG  MAIN_APL70P18_C  20090515180651 
    sap.com  BI_MMR  7.00 SP18 (1000.7.00.18.0.20081123154631)  SAP AG  SAP AG  20090515173946 
    sap.com  BI_UDI  7.00 SP18 (1000.7.00.18.0.20081123154646)  SAP AG  SAP AG  20090515174042 
    sap.com  BIWEBAPP  7.00 SP18 (1000.7.00.18.12.20090129073354)  SAP AG  SAP AG  20090518112351 
    sap.com  BP_BIADMIN  60.1 SP5 (1000.60.1.5.0.20060118134900)  SAP AG  SAP AG  20090720155956 
    sap.com  CAF  7.00 SP18 (1000.7.00.18.0.20081125143229)  SAP AG  MAIN_APL70P18_C  20090515174948 
    sap.com  CAF-KM  7.00 SP18 (1000.7.00.18.0.20081125132429)  SAP AG  MAIN_APL70P18_C  20090515181229 
    sap.com  CAF-UM  7.00 SP18 (1000.7.00.18.0.20081125143246)  SAP AG  MAIN_APL70P18_C  20090515174049 
    sap.com  CORE-TOOLS  7.00 SP18 (1000.7.00.18.0.20081123154839)  SAP AG  SAP AG  20090515171444 
    sap.com  EP-PSERV  7.00 SP18 (1000.7.00.18.0.20081217162400)  SAP AG  SAP AG  20090515180804 
    sap.com  EP-WDC  7.00 SP18 (1000.7.00.18.0.20081113110900)  SAP AG  SAP AG  20090515180833 
    sap.com  EPBC  7.00 SP18 (1000.7.00.18.0.20081123205100)  SAP AG  SAP AG  20090515174158 
    sap.com  EPBC2  7.00 SP18 (1000.7.00.18.0.20081123205100)  SAP AG  SAP AG  20090515180835 
    sap.com  JLOGVIEW  7.00 SP18 (1000.7.00.18.0.20081123152100)  SAP AG  SAP AG  20090515171508 
    sap.com  JSPM  7.00 SP18 (1000.7.00.18.0.20081123152100)  SAP AG  SAP AG  20090515110509 
    sap.com  KM-KW_JIKS  7.00 SP18 (1000.7.00.18.0.20081123155108)  SAP AG  SAP AG  20090515174202 
    sap.com  KMC-BC  7.00 SP18 (1000.7.00.18.0.20081124023400)  SAP AG  SAP AG  20090515180855 
    sap.com  KMC-CM  7.00 SP18 (1000.7.00.18.0.20081124045000)  SAP AG  SAP AG  20090515180911 
    sap.com  KMC-COLL  7.00 SP18 (1000.7.00.18.0.20081124050800)  SAP AG  SAP AG  20090515180926 
    sap.com  LM-PORTAL  7.00 SP18 (1000.7.00.18.0.20081125133231)  SAP AG  MAIN_APL70P18_C  20090515180928 
    sap.com  LM-TOOLS  7.00 SP18 (1000.7.00.18.0.20081218100553)  SAP AG  MAIN_APL70P18_C  20090515175236 
    sap.com  NET-PDK  7.00 SP18 (1000.7.00.18.0.20081124003300)  SAP AG  SAP AG  20090515180432 
    sap.com  RTC  7.00 SP18 (1000.7.00.18.0.20081124050800)  SAP AG  SAP AG  20090515180434 
    sap.com  RTC-STREAM  7.00 SP18 (1000.7.00.18.0.20081124050800)  SAP AG  SAP AG  20090515180930 
    sap.com  SAP-EU  7.00 SP18 (1000.7.00.18.0.20081125133807)  SAP AG  MAIN_APL70P18_C  20090515181146 
    sap.com  SAP-JEE  7.00 SP18 (1000.7.00.18.0.20081123155510)  SAP AG  SAP AG  20090515171540 
    sap.com  SAP-JEECOR  7.00 SP18 (1000.7.00.18.1.20090120111509)  SAP AG  SAP AG  20090518112033 
    sap.com  SAP_JTECHF  7.00 SP18 (1000.7.00.18.1.20090120111547)  SAP AG  SAP AG  20090518112036 
    sap.com  SAP_JTECHS  7.00 SP18 (1000.7.00.18.1.20090120111716)  SAP AG  SAP AG  20090518112429 
    sap.com  UMEADMIN  7.00 SP18 (1000.7.00.18.0.20081125103148)  SAP AG  MAIN_APL70P18_C  20090515175248 
    sap.com  UWLJWF  7.00 SP18 (1000.7.00.18.0.20081124030000)  SAP AG  SAP AG  20090515180944 
    sap.com  VCBASE  7.00 SP18 (1000.7.00.18.0.20081124020700)  SAP AG  SAP AG  20090515181246 
    sap.com  VCFLEX  7.00 SP18 (1000.7.00.18.0.20081124020700)  SAP AG  SAP AG  20090515181231 
    sap.com  VCFRAMEWORK  7.00 SP18 (1000.7.00.18.0.20081124020700)  SAP AG  SAP AG  20090515181234 
    sap.com  VCKITBI  7.00 SP18 (1000.7.00.18.0.20081124020700)  SAP AG  SAP AG  20090515181248 
    sap.com  VCKITGP  7.00 SP18 (1000.7.00.18.0.20081124020700)  SAP AG  SAP AG  20090515181250 
    sap.com  VCKITXX  7.00 SP18 (1000.7.00.18.0.20081124020700)  SAP AG  SAP AG  20090515181252 
    sap.com  WDEXTENSIONS  7.00 SP18 (1000.7.00.18.0.20081125134217)  SAP AG  MAIN_APL70P18_C  20090515181322

    Manoj,
    Thank you. I can see in jspm (release.splevel.PATCHlevel). But which component is the BI JAVA ? I done see any component by that name in jspm !!!
    I can see a sap.com/SAP_JAVASL. Is this the one ?
    Anil , Royi,
    I know I am on netweaver 7 and sp 18. I want to know PATCH NO. Pasted above is the component info. Where is the java PATCH information ?
    Does   ADSSAP  7.00 SP18 (1000.7.00.18.0.20081123153837  mean
    release 7
    sp 18
    patch 0
    thank you.

  • What is the size limit for a servlet .java file?

    I have been working on a jsp page with over 500 controls so I have getParameter() for those at least in my servlet. It is too big I think because the java file size is 40K but the class file is 25KB. Any sugguestion? Thanks,J

    Yes, there is a maximum length for the URL but if you use POST with a form the parameters do not appear in the URL... They would if you'd use GET however.
    Still, I guess it is just too much. And if that's a form a user would be supposed to fill out (usually they are supposed to do just that) they'd probably get tired and quit after the first 100 fields... 500 fields on one page is definately too much. I'd say try splitting it up to have about 10 fields on a page but then you'de have 50 pages to go through, which is less that good...
    May I ask what the 500 fields are for? What data is the form supposed to process? There might be a more practicable way to solve this.

  • Escape character for apostrophe ' in JDBC receiver channel

    Hi all,
    We have Proxy to JDBC scenario in our project. This interface is working fine with unicode data but when there is an apostrophe( ' ) coming in any of the field values ( ex: DOWTHERM 'J' MODEL19QAGB1G ) , the message is failing in receiver JDBC channel.
    can anyone please tell us how to handle single quote in JDBC receiver channel.
    I have read in SAP help documentation that apostrophe is a reserved character in SQL syntax and is therefore replaced by an escape character if it occurs within value strings. There is a option to JDBC receiver communication channel under "SQL SYNTAX PARAMETER"  to specify the escape character for apostrophe.
    Can any please tell us which value needs to be maintained in the channel to avoid this error.
    Regards
    Jagruthi

    Hi Prateek,
    Thanks a lot for you inputs.
    This issue is solved now. We have replaced single quote with two single quotes and then did the hasQuote mapping as described in the blog.
    /people/prateek.srivastava3/blog/2009/04/02/unicode-handling-for-ms-sql-server
    No value needs to be maintained in channel(SQL SYNTAX PARAMETER ).
    But just want to understand  the difference between replacing the ' with '' in mapping and using SQL SYNTAX PARAMETER option in communication channel.
    Both should ideally result in same  output. But it didnu2019t work when we tried with two single quotes in SQL SYNTAX PARAMETER (Escape Symbol for Apostrophe) in communication channel without doing anything in mapping.
    Regards
    Jagruthi

  • Using Escape character for Multi character delimiter for flat files in IKM

    Hi
    I have an IKM using Jython, it is working fine for single character delimiter. But as per requirement I have to use multicharacter delimiter ;" (semi colon and double quotes).
    I am taking this into variable using
    filesep = "<%=snpRef.getSrcTablesList("", "[SFILE_SEP_FIELD]", "", "")%>"
    but it is giving lexical error.
    Can anybody help me with the use of escape character in current scenario?
    Any other suggestions are also appreciated.
    Thanks
    Ankit

    Hello,
    A small tweak may solve your problem:
    Instead of :
    CONCATENATE wa_condstr ' bukrs = ' pa_bukrs INTO wa_condstr SEPARATED BY space.
    Use:
    CONCATENATE wa_condstr ' bukrs = ' 'PA_BUKRS' INTO wa_condstr SEPARATED BY space.
    Then use this in SELECT.
    Anyways for your answer the escape character for apostrophe is an apostrophe )
    Try this you will understand:
    DATA:
    V_STR TYPE STRING VALUE ''''.
    WRITE: V_STR.
    BR,
    Suhas

  • Whats the limitations character for email signature for iphone?

    I wonder whats the limitations character for email signature for iphone? if anyone can help... thanks

    Please provide more detail of what it is you need to know and why?

  • Can Linux recognize the escape character?

    Hi,
    It's possible that this problem doesn't belong here. But please give it a try.
    I am developing an project using JSP. It includes image uploading. after image uploading, I use a javascript function popUp(url, ...) to open a new window and display this image. The very strange thing is that, sometimes the link can work, open a new window and display the image while sometimes the link can't work, or it only works for one time, then it fails. I couldn't find the reason yet. it works on IE, and not on Netscape and also not work on Linux OS while do work on Window2000. Can somebody take a look at the following link and tell me how to change it to make sure it is work on Linux OS and netscape. What's the difference between OS and windows to specify a String(that is, url of a link). The linux OS seems interperte \" to ", so it cannot recognize the full url.
    The link is :
    imageLink[i] = "<a href='showForm' onclick=\"popUp('" + request.getContextPath() + "/displayForm.jsp?filename=" + sdb.getImageFileName(i)+"&fileDesc=" +sdb.getImageDesc(i) + "', 'showForm', '600', '450', 'yes'); return false;\">"+sdb.getImageDesc(i)+"</a>";
    Thanks in advance!
    jmling

    Linux will recognize the escape character. It looks like you might have other difficulties with your imageLink tag. For example, I think you need to use tags when you use Java inside your html or javascript..
    onclick=\"popUp(" + <%= request.getContextPath() %> + "/displayform.jsp?...

  • Escape character before dot in dn entry after OID provisioning

    Our OIM users are auto provisioned to OID using out of box OID connector. Everything works fine other than this issue.
    When value for OIM's "User login" contain the character dot (say BILLY.BOB) , the corresponding dn entry in OID is created with an escape character (dn: uid=BILLY\.BOB,cn=users,dc=abc,dc=com) .
    Example :
    OIM's 'User Login' = BILLY.BOB
    OID Entry created as
    dn: uid=BILLY\.BOB,cn=users,dc=abc,dc=com
    givenName: Billy
    uid: BILLY.BOB
    cn: Billy Bob
    Note that the uid does not get the escape character, only the dn value is getting affected.
    Thanks in advance!
    Kabi

    You need to remove . in the Lookup defintion which comes with OOTB connector.
    Re: OID Connector.User Id includes "\" when seen through ODSM

  • What's the recommended setting for "Process memory usage" ("process virtual" in UI) for a 64-bit host on a 64-bit OS?

    Hi gurus
    In resource based throttling, what's the recommended setting for "Process memory usage" ("process virtual" in the resource based throttling tab of the UI) for a 64-bit host
    on a 64-bit Windows OS?
    According to MS (http://msdn.microsoft.com/en-us/library/ee308808(v=bts.10).aspx):
    "By default, the
    Process memory usage throttling threshold is set to 25. If this value is exceeded and the BizTalk process memory usage is more than 300 MB, a throttling condition may occur. On a 32-bit
    server, you can increase the Process memory usage value to 50. On a 64-bit server, you can increase this value to 100. This allows for more memory consumption by the BizTalk process before throttling
    occurs."
    Does this mean that 100 is the recommended setting for a 64-bit host on a 64-bit Windows?
    Thanks
    Michael Brandt Lassen

    Hi Michael,
    Recommended setting is the default setting which is 25 .dot.
    If your situation is abnormal and you see message delivery throttling state to “4” when the following performance counters are high or if you expect any of you integration
    process could have impact on following counters, then you can consider the suggestion by Microsoft. Don’t change the default setting.
    High process memory
    Process memory usage (MB)
    Process memory usage threshold (MB)
    You can see these counters under “BizTalk:MessageAgent”
    You can gauge these performance counter and its maximum values if have done any regression/performance testing in your test servers. If you have seen these counters having
    high values and causing throttling, then you can update the Process memory usage.
    Or unexpectedly you’re process high throughput messages in production which is causing these counters to go high and cause throttling, then up can update the Process memory
    usage.
    The above two cases where I know my expected process usage (by doing performance testing) or suddenly my production server processing has gone high due to unexpected business
    hike (or any reasons) which caused throttling, then do changes to default throttling setting.
    Just changing the default setting without actual reason could have adverse effect where you end up allocating 
    more processing capacities but the actual message processing message usage ever is low means you end up investing in underutilised resources.
    Regards,
    M.R.Ashwin Prabhu
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Field is missing an escape character for a quote

    Hello ,
    any solution for below error in SSIS.
    Field is missing an escape character for a quote.Unable to update PK WHERE clause.Error processing data batch.
    i tried with convert tool. I ignored that column but still i am facing same error.
    Regards,
    Akshay Adivarekar
    Akshay Adivarekar

    "Field is missing an escape character for a quote.Unable to update PK WHERE clause.Error processing data batch."
    this is the error which i am getting in ssis.
    I am trying to pull data form SAP to SQL sqrver 2012 using SSIS 2012.
    I am using ado.net connector for SAP , Control flow Task.
    I tried with Convert task with dt_str datatype  but its not helping me ,
    even  i ignored that column but still i am facing same error. 
    Actually  sometimes it works properly but sometimes  get error.
    Akshay Adivarekar
    Akshay Adivarekar

  • What determines the file encoding for ${C:file.txt} = 'abc' ?

    What determines the file encoding for  
    ${C:file.txt} = 'abc'
    I'm always getting ASCII as the encoding for file.txt after executing that assignment.

    Thanks so much.   I'll keep looking for the MSFT doc on this.  I scanned Bruce Payette's book and did not find anything there.   
    It turns out to be one of those "by rote" things you have to learn about PowerShell.
    My concern about the lack of documentation is that MSFT might change the underlying code in the future to use Unicode and that might break some existing code.  If there was some MSFT provided documentation declaring ASCII as the intended encoding they
    might provide plenty of warning if they do a switch in encoding.
    I note also that if you try to write characters outside the ASCII set (see example below) that character substitution happens to find an ASCII character to use in place of the one outside the ASCII set.  In the example below a 'v' is substituted for
    the '√' character:
    ${C:xo.txt} = '√'

  • What's the lastest patch for 10R3?

    what's the lastest patch for 10R3?
    i can't find!

    Here ya go
    6713579      Oracle Database Lite: Patch
    CONSOLIDATED ONEOFF FOR CUSTOMER BUGS TILL DEC. 24 2007      10.3.0.1.0      11-JAN-2008      37M
    6600991      Oracle Database Lite: Patch
    THE TIME ON THE MOBILE CLIENT COMPUTER CHANGED (+1 HOUR)      10.3.0.1.0      28-NOV-2007      22M
    6630384      Oracle Database Lite: Patch
    CONSOLIDATED ONEOFF FOR CUSTOMER BUGS TILL NOV. 15 2007      10.3.0.1.0      22-NOV-2007      22M
    6344826      Oracle Database Lite: Patch
    PROVIDE ORACLE LITE CLIENT SUPPORT FOR WINDOWS MOBILE 6 PLATFORM      10.3.0.1.0      16-NOV-2007      76M
    6196280      Oracle Database Lite: Patch
    CAN NOT CREATE USER WITH '-' CHARACTER LIKE MARC-PC1      10.3.0.1.0      14-AUG-2007      8.1M

  • What is the Industry data for SharePoint Usage / Office 365 Usage?? ( Market size , Market growth , Competitive landscape)

    What is the industry data for SharePoint Usage / Office 365 Usage?

    Have Windows Updates been applied? See my note about this
    https://twitter.com/imorrish/status/491020435039854592
    Look at the URL in the search results. It may have invalid character in which case you can use this fix
    http://blogs.msdn.com/b/spses/archive/2014/06/30/sharepoint-2013-the-search-results-with-5c-the-character-will-become-double-encoded-and-causes-broken-links.aspx
    Regards,
    Ian
    http://sps.cloudapp.net
    Regards, Ian Internet Sites running on SharePoint 2013 http://j.mp/sp2013sites

  • What is the best flash for ipad3, What is the best flash for ipad3

    What is the best flash for ipad3.

    No Flash for iPads, iPhones, or iPods
    Here's why there's is no Flash available for iDevices or other mobile devices. Adobe was unable to provide a product that was suitable to the needs of battery powered mobile devices used for Internet browsing. Existing Flash technology used too much memory, ate battery life, and was buggy. Simply put Flash did not work well on mobile devices.
    Apple's Steve Jobs led the escape from Flash dependency when Apple introduced the iPhone, and later introduced the iPad. There was a hue and cry over the omission. Time proved Jobs was right on target.
    So this is why there is no Flash for your iPhone or iPad or iPod nor for most SmartPhones. Flash has been abandoned by many sites in favor of supported technologies such as HTML5 or by providing their own custom app.
    Here is Steve Jobs official comment on his momentous decision to omit Flash from iDevices: Steve Jobs on Flash.
    Here is Adobe's later announcement to cease development of Flash for mobile devices: Adobe on Mobile Flash.
    Now, you are not necessarily out on a limb. There are some apps that can display some Flash, but don't count on there ability to display anything using Flash.
    Apps that can display some Flash from the Web:
    Puffin
    SkyFire
    Photon Flash
    Browse2Go
    iSwifter
    Also, note that many sites that use Flash provide their own app for accessing their material. So check with your favorite sites and find out if "there's an app for that."

Maybe you are looking for

  • Configuring WLS to invoke a web service on SSL

    Hi, It will be really helpful if I get some pointers on this. Stuck with this without any progress. I havent experimented too much working with Certificates and so on... I have a web service on my WLS...This has to invoke an external web service (pro

  • Uploading photo gallery to a Mac?

    I have an original Facinate and have just ordered an iPhone 5 upgrade. I have two years of images on the phone that I don't want to lose. How cna I uploade these images to my Mac desktop? Thanks

  • Can Swing/ADF directly deploy on application server?

    Hi, After creation of Swing/ADF rich client in JDevelopment, is there any way to deploy this as a WAR file on application server or this ADF option is only for direct client/server mode deployment?

  • Project cash management document

    Need your guidance for an issue, Is it possible to display Project cash management documents just like any other FI documents? Thanks

  • Steps to create a custom responsibility in Oracle applications R12

    Hi All, I need to define and create a new custom responsibility in Front end applications. Can you let me know the steps to create it or any links through which I can work on it. Data group Menu Request group with step by step procedure Regards, Kaly