Re: regular expressions



On Tue, 25 Apr 2006 19:08:12 GMT, "Oliver Wong" <owong@xxxxxxxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :

All of categories are mutually exclusive except for "Unicode
characters". And any character that you can get in memory via a program
written in Java is a "unicode character", so that last category seems pretty
redundant. Perhaps you mean something like a character within Unicode, but
outside of ASCII?

I think that is what he meant, something like &oacute; or &rArr; You
just want to mix up the categories to foil a simple dictionary search.

You could do it pretty easily with a giant switch. Unfortunately
switches don't implement ranges, so you have have to code that
manually if you don't want to spell it out longhand. default handles
the unicode. You might add control character category and reject
such passwords. Putting whitespace on either end of a password is not
a wise idea.

--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages

  • RE: Using non-printable characters in passwords
    ... in your "cross-platform" situation. ... particular character. ... the Unicode table representation of this. ... Previous post: Subject: Using non-printable characters in passwords ...
    (Security-Basics)
  • Re: Java identifiers
    ... intended to vary over time to reflect changes to the Unicode standard. ... The API docs are normative for a given Java version. ... of the specifications in the documentation for Character are to be interpreted ... because there is no stability policy for the Java API. ...
    (comp.lang.java.programmer)
  • Re: character output
    ... I read the file in Java but when I output the character seems ... It's seems like I can't match the exact unicode characters... ... Unicode character set into "text" files. ... strings through InputStreamReader and OutputStreamWriter. ...
    (comp.lang.java.programmer)
  • Re: Data entry in foreign languages
    ... > entering data into Java? ... > do the OS keyboard drivers and Unicode handle everything? ... Do the Strings read right to left ... but the character 'k' has not yet been sent to the input. ...
    (comp.lang.java.programmer)
  • Re: Frustrated trying to Read File
    ... BufferedReader bor = new BufferedReader(new ... The second issue that the OS and Java will not "read" files even if I ... // (just after the '+' character) and print all remaining ... public static void main{ ...
    (comp.lang.java.help)