|
Trouver une ressource
Vous ne trouvez pas de réponse à votre problème ? Alors posez la question dans le forum. Souvenez-vous qu'il n'y a jamais de question bête, mais rester dans l'ignorance parce que l'on n'ose pas poser une question, ça c'est une erreur !
DICTIONNAIRE DE SCRABBLE
Information sur la source
Description
Dictionnaire de scrabble en application dans un fichier .jar ou dans une applet..................................................................
Source
- <html><head><title>Dictionnaire du Scrabble</title></head><body>
- <h2>Entrer un mot d'au moins deux lettres :
- <applet code="dico.class" archive="dico.jar" width="262" height="36"><param name="win" value="oui" /></applet> puis appuyer sur "Entrée"</h2><br>
- <pre>
- . Ce caractère remplace une seule lettre (équivalent à [A-Z])
- ? Ce caractère remplace zéro ou une lettre (équivalent à [A-Z]?)
- * Ce caractère remplace zéro ou plusieurs lettres (équivalent à [A-Z]*)
- + Ce caractère remplace une ou plusieurs lettres (équivalent à [A-Z]+)
-
- Ce dictionnaire est de la forme " "+mot+" "+mot+...+mot+" "
- (Un espace avant et après est placé dans le pattern automatiquement)
- Par exemple, le pattern ".." est remplacé par " [A-Z][A-Z] "
- le pattern "+*?" est remplacé par " [A-Z]+[A-Z]*[A-Z]? "
-
- \0n Le character with octal value 0n (0 <= n <= 7)
- \0nn The character with octal value 0nn (0 <= n <= 7)
- \0mnn The character with octal value 0mnn (0 <= m <= 3, 0 <= n <= 7)
- \xhh The character with hexadecimal value 0xhh
- \uhhhh The character with hexadecimal value 0xhhhh
- \cx The control character corresponding to x
-
- Character classes
- [abc] a, b, or c (simple class)
- [^abc] Any character except a, b, or c (negation)
- [a-zA-Z] a through z or A through Z, inclusive (range)
- [a-d[m-p]] a through d, or m through p: [a-dm-p] (union)
- [a-z&&[def]] d, e, or f (intersection)
- [a-z&&[^bc]] a through z, except for b and c: [ad-z] (subtraction)
- [a-z&&[^m-p]] a through z, and not m through p: [a-lq-z](subtraction)
-
- Predefined character classes
- . Any character (may or may not match line terminators)
- \S A non-whitespace character: [^\s]
- \w A word character: [a-zA-Z_0-9]
- \W A non-word character: [^\w]
-
- Boundary matchers
- ^ The beginning of a line
- $ The end of a line
- \b A word boundary
- \B A non-word boundary
- \A The beginning of the input
- \G The end of the previous match
- \Z The end of the input but for the final terminator, if any
- \z The end of the input
-
- Greedy quantifiers
- X? X, once or not at all
- X* X, zero or more times
- X+ X, one or more times
- X{n} X, exactly n times
- X{n,} X, at least n times
- X{n,m} X, at least n but not more than m times
-
- Reluctant quantifiers
- X?? X, once or not at all
- X*? X, zero or more times
- X+? X, one or more times
- X{n}? X, exactly n times
- X{n,}? X, at least n times
- X{n,m}? X, at least n but not more than m times
-
- Possessive quantifiers
- X?+ X, once or not at all
- X*+ X, zero or more times
- X++ X, one or more times
- X{n}+ X, exactly n times
- X{n,}+ X, at least n times
- X{n,m}+ X, at least n but not more than m times
-
- Logical operators
- XY X followed by Y
- X|Y Either X or Y
- (X) X, as a capturing group
-
- Back references
- \n Whatever the nth capturing group matched
-
- Quotation
- \ Nothing, but quotes the following character
- \Q Nothing, but quotes all characters until \E
- \E Nothing, but ends quoting started by \Q
-
- Special constructs (non-capturing)
- (?:X) X, as a non-capturing group
- (?idmsux-idmsux) Nothing, but turns match flags on - off
- (?idmsux-idmsux:X) X, as a non-capturing group with the given flags on - off
- (?=X) X, via zero-width positive lookahead
- (?!X) X, via zero-width negative lookahead
- (?<=X) X, via zero-width positive lookbehind
- (?<!X) X, via zero-width negative lookbehind
- (?>X) X, as an independent, non-capturing group
-
- 1 Literal escape \x
- 2 Grouping [...]
- 3 Range a-z
- 4 Union [a-e][i-u]
- 5 Intersection [a-z&&[aeiou]]
-
- A newline (line feed) character ('\n'),
- A carriage-return character followed immediately by a newline character ("\r\n"),
- A standalone carriage-return character ('\r'),
- A next-line character ('\u0085'),
- A line-separator character ('\u2028'), or
- A paragraph-separator character ('\u2029)
- </pre>
- </body></html>
<html><head><title>Dictionnaire du Scrabble</title></head><body>
<h2>Entrer un mot d'au moins deux lettres :
<applet code="dico.class" archive="dico.jar" width="262" height="36"><param name="win" value="oui" /></applet> puis appuyer sur "Entrée"</h2><br>
<pre>
. Ce caractère remplace une seule lettre (équivalent à [A-Z])
? Ce caractère remplace zéro ou une lettre (équivalent à [A-Z]?)
* Ce caractère remplace zéro ou plusieurs lettres (équivalent à [A-Z]*)
+ Ce caractère remplace une ou plusieurs lettres (équivalent à [A-Z]+)
Ce dictionnaire est de la forme " "+mot+" "+mot+...+mot+" "
(Un espace avant et après est placé dans le pattern automatiquement)
Par exemple, le pattern ".." est remplacé par " [A-Z][A-Z] "
le pattern "+*?" est remplacé par " [A-Z]+[A-Z]*[A-Z]? "
\0n Le character with octal value 0n (0 <= n <= 7)
\0nn The character with octal value 0nn (0 <= n <= 7)
\0mnn The character with octal value 0mnn (0 <= m <= 3, 0 <= n <= 7)
\xhh The character with hexadecimal value 0xhh
\uhhhh The character with hexadecimal value 0xhhhh
\cx The control character corresponding to x
Character classes
[abc] a, b, or c (simple class)
[^abc] Any character except a, b, or c (negation)
[a-zA-Z] a through z or A through Z, inclusive (range)
[a-d[m-p]] a through d, or m through p: [a-dm-p] (union)
[a-z&&[def]] d, e, or f (intersection)
[a-z&&[^bc]] a through z, except for b and c: [ad-z] (subtraction)
[a-z&&[^m-p]] a through z, and not m through p: [a-lq-z](subtraction)
Predefined character classes
. Any character (may or may not match line terminators)
\S A non-whitespace character: [^\s]
\w A word character: [a-zA-Z_0-9]
\W A non-word character: [^\w]
Boundary matchers
^ The beginning of a line
$ The end of a line
\b A word boundary
\B A non-word boundary
\A The beginning of the input
\G The end of the previous match
\Z The end of the input but for the final terminator, if any
\z The end of the input
Greedy quantifiers
X? X, once or not at all
X* X, zero or more times
X+ X, one or more times
X{n} X, exactly n times
X{n,} X, at least n times
X{n,m} X, at least n but not more than m times
Reluctant quantifiers
X?? X, once or not at all
X*? X, zero or more times
X+? X, one or more times
X{n}? X, exactly n times
X{n,}? X, at least n times
X{n,m}? X, at least n but not more than m times
Possessive quantifiers
X?+ X, once or not at all
X*+ X, zero or more times
X++ X, one or more times
X{n}+ X, exactly n times
X{n,}+ X, at least n times
X{n,m}+ X, at least n but not more than m times
Logical operators
XY X followed by Y
X|Y Either X or Y
(X) X, as a capturing group
Back references
\n Whatever the nth capturing group matched
Quotation
\ Nothing, but quotes the following character
\Q Nothing, but quotes all characters until \E
\E Nothing, but ends quoting started by \Q
Special constructs (non-capturing)
(?:X) X, as a non-capturing group
(?idmsux-idmsux) Nothing, but turns match flags on - off
(?idmsux-idmsux:X) X, as a non-capturing group with the given flags on - off
(?=X) X, via zero-width positive lookahead
(?!X) X, via zero-width negative lookahead
(?<=X) X, via zero-width positive lookbehind
(?<!X) X, via zero-width negative lookbehind
(?>X) X, as an independent, non-capturing group
1 Literal escape \x
2 Grouping [...]
3 Range a-z
4 Union [a-e][i-u]
5 Intersection [a-z&&[aeiou]]
A newline (line feed) character ('\n'),
A carriage-return character followed immediately by a newline character ("\r\n"),
A standalone carriage-return character ('\r'),
A next-line character ('\u0085'),
A line-separator character ('\u2028'), or
A paragraph-separator character ('\u2029)
</pre>
</body></html>
Fichier Zip
Pour les "Membres Club", vous pouvez télécharger directement un fichier contenu dans le zip sans télécharger le zip en entier !
Télécharger le zip
Sources du même auteur
Sources de la même categorie
Sources en rapport avec celle ci
Commentaires et avis
Discussions en rapport avec ce code source dans le forum
JEU SCRABBLE [ par boubaj ]
SLT J CHERCHE UN PROGRAMME EN JAVA KI PERMET DINSERER UN MOT DANS UNE GRILLE DE SCRABBLE. PLEASE AIDEZ MOI
inserer un mot dans une grille de scrabble en java ou en c [ par boubaj ]
slt tout le monde je recherche un programme (en JAVA ou en C) qui permet d'insérer un mot dans une grille de Scrabble.
Jeu type Worms en Java, problème avec repaint() [ par On90 ]
Bonjour,Dans le cadre d'un projet on doit développer un jeu de Worms en 2D avec JavaJe dispose d'une classe héritant de JFrame pour la fenêtre, une hé
Anagramme trouver le bon mot [ par flo0011 ]
Je veux essayer de creér un jeu mais je ne sais pas comment m'y prendre:Ce jeu consiste à découvrir le bon mot vis-à-vis d'une suite de lettres dans l
Statistique tétris [ par awabi ]
Bonjour, je suis débutante en java et on nous a donné la source du jeu tétris comme Tp. En faite je voudrai créer une autre fenêtre statistique qui af
Programmation jeu de poker et blackjack [ par gelomaak ]
Bonjour,J'ai commencé à étudier Java et je suis entrain de faire un exercice sur le polymorphisme et l'héritage. Je ne sais pas par où commencer pour
jeu d'echec [ par anouar2009 ]
je cherche un programme java de jeu d'echec sans interface graphique "avec des matrice"
des images qui bougent [ par amouna03 ]
dans le cadre d'un projet java.je voulais développer un jeu,pour cela j'ai divisé mon projet en plusieurs étapes. dans un premier temps je veux bouge
[Jeu - Java - Recrutement]SF War [ par rXp ]
Bonjour,Je suis Emmanuel, j'ai 17 ans et je suis en 2ième année de mon apprentissage de programmation. Gamer et programmeur depuis déjà des année tout
|
Téléchargements
Logiciels à télécharger sur le même thème :
Comparez les prix Nouvelle version
|