Applies rules of French punctuation spacing.
See the following links for reference:
Note
We are following the rules described in the second link above. The sources collected are more convincing than the implementation in citeproc-js.
| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String |
| SPACE_AFTER_LEFT_GUILLEMET | back to summary |
|---|---|
| private static final Pattern SPACE_AFTER_LEFT_GUILLEMET | |
| SPACE_BEFORE_PUNCTUATION | back to summary |
|---|---|
| private static final Pattern SPACE_BEFORE_PUNCTUATION | |
| SPACE_BEFORE_RIGHT_GUILLEMET | back to summary |
|---|---|
| private static final Pattern SPACE_BEFORE_RIGHT_GUILLEMET | |
| SPACES_AROUND_COLON | back to summary |
|---|---|
| private static final Pattern SPACES_AROUND_COLON | |
| FrenchPunctuationSpacing | back to summary |
|---|---|
| public FrenchPunctuationSpacing() | |
| apply | back to summary |
|---|---|
| public static String apply(String str) Apply rules of French punctuation spacing | |