Search:

Type: Posts; User: diptee

Search: Search took 0.11 seconds.

  1. Replies
    7
    Views
    3,509

    Re: finding unescaped XML characters

    yeah i started with the use of negations in my reg ex but coud nt really achieve wat i needed, will go thru the link u provided and get back if reqd.

    thanks
  2. Replies
    7
    Views
    3,509

    Re: finding unescaped XML characters

    hi i am slightly new to java patterns so can you please explain what would be achieved with the pattern you sugested &[^;]{2,6}[^;]

    All i undertsnd is that it will find the & characters which are...
  3. Replies
    7
    Views
    3,509

    Re: finding unescaped XML characters

    The code i have used is as below

    /*
    * Created on 10/11/2008
    *
    */

    import java.io.*;
    import java.util.Map;
    import java.util.regex.Pattern;
  4. Replies
    7
    Views
    3,509

    Re: finding unescaped XML characters

    sorry the pattern i used for matching the escape sequences is &[\\w]+;
  5. Replies
    7
    Views
    3,509

    finding unescaped XML characters

    hi,

    I want to find the unscaped characters in some XML input in order to replace them with their escape sequences through my code.

    For instance, my XML input would consist unescaped and escaped...
Results 1 to 5 of 5