|
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
Appuyez sur n'importe quelle touche ? lol ;o) [ par Geomaster ]
Bonjour bonjour !Tout nouveau parmi vous :o)J'aimerais vous poser une petite question et j'espère que qqn pourra m'aider...Voilà je suis en train de d
[gestion evenements] 2 touches en meme temps ? [ par vince03 ]
Bonjour, voila je suis en train de developper un jeu en Swing (une version Java de Kooles, un petit jeu qui tourne en C sous Linux) .... et je voudrai
recherche d'un jeu simple en java [ par ponchovilla ]
bonjour,je dois réaliser comme projet un jeux en java qui pourra etre jouer en réseaux (genre un jeux de cartes) qui se joue à plusieurs (à 2, c'est d
JAVA3D et jeu de course [ par toto0101 ]
voila j'aimerai savoir où je pourrais trouver le code source d'un jeu de course en java3D? si oui pourriez vous me donner l'url ou m'envoyé le source
Jeu de dames sur java [ par Poilocu ]
Bonjour,J'aimerais savoir s'il existe des programmes java sur le jeu de dames.Merci d'avance.
jeu pictonnary.... [ par cllucifer ]
J'aimerai savoir si quelqu'un a déjà développé ce genre de jeu... si il est facile à réaliser...ou où télécharger un bon exemple, en tout language pos
|
Téléchargements
Logiciels à télécharger sur le même thème :
|