exercism / exercism/problem-specifications
reverse-string: string with newline
Ouverte
- Langage dominant
- Ruby
- Étoiles
- 358
- Forks
- 563
- Merge moyen
- 18 h 41 min
- PR mergées (30 j)
- 2
Description
This came up in the bash track: what to do with strings containing newlines?
A common solution in shell would be to pipe the input into `rev` which would treat the input as _lines_ and not _a single string_.
Suggest a new case:
```json
{
"description": "with a newline",
"property": "reverse",
"input": {
"value": "Hello,\nWorld!"
},
"expected": "!dlroW\n,olleH"
}
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.