Skip to content

Commit 3192dbf

Browse files
authored
Merge pull request #4 from invenia/cv/corrections
Corrections
2 parents 29e85b4 + 0e88525 commit 3192dbf

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/MultilineStrings.jl

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
module MultilineStrings
22

3-
export @m_str
3+
export @m_str, multiline
44

5-
const ETX = '\x03' # ASCII control character: End of Text
65
const DEFAULT_STYLE = :folded
76
const DEFAULT_CHOMP = :strip
87

98
"""
10-
multiline(str, style=$(repr(DEFAULT_STYLE)), chomp=$(repr(DEFAULT_CHOMP))) -> AbstractString
9+
multiline(str; style=$(repr(DEFAULT_STYLE)), chomp=$(repr(DEFAULT_CHOMP))) -> AbstractString
1110
12-
Create a multiline string according to the provided `style` and `chomp`. Works similarly to
13-
YAML multiline strings (also known as block scalars).
11+
Manipulate a multiline string according to the provided `style` and `chomp`. Works similarly
12+
to YAML multiline strings (also known as block scalars).
1413
1514
# Arguments
1615
- `str::AbstractString`: The multiline string to be processed
@@ -27,7 +26,7 @@ end
2726
"""
2827
multiline(str, indicators) -> AbstractString
2928
30-
Revise a multiline string according to the provided style and chomp encoded in the
29+
Manipulate a multiline string according to the provided style and chomp encoded in the
3130
`indicators` string.
3231
3332
# Arguments

0 commit comments

Comments
 (0)