Skip to content

Commit

Permalink
Merge pull request #4 from invenia/cv/corrections
Browse files Browse the repository at this point in the history
Corrections
  • Loading branch information
omus authored Sep 2, 2020
2 parents 29e85b4 + 0e88525 commit 3192dbf
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/MultilineStrings.jl
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
module MultilineStrings

export @m_str
export @m_str, multiline

const ETX = '\x03' # ASCII control character: End of Text
const DEFAULT_STYLE = :folded
const DEFAULT_CHOMP = :strip

"""
multiline(str, style=$(repr(DEFAULT_STYLE)), chomp=$(repr(DEFAULT_CHOMP))) -> AbstractString
multiline(str; style=$(repr(DEFAULT_STYLE)), chomp=$(repr(DEFAULT_CHOMP))) -> AbstractString
Create a multiline string according to the provided `style` and `chomp`. Works similarly to
YAML multiline strings (also known as block scalars).
Manipulate a multiline string according to the provided `style` and `chomp`. Works similarly
to YAML multiline strings (also known as block scalars).
# Arguments
- `str::AbstractString`: The multiline string to be processed
Expand All @@ -27,7 +26,7 @@ end
"""
multiline(str, indicators) -> AbstractString
Revise a multiline string according to the provided style and chomp encoded in the
Manipulate a multiline string according to the provided style and chomp encoded in the
`indicators` string.
# Arguments
Expand Down

2 comments on commit 3192dbf

@omus
Copy link
Collaborator Author

@omus omus commented on 3192dbf Sep 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/20709

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.0 -m "<description of version>" 3192dbf8872b99cb2a09a46894b22428191805ca
git push origin v0.1.0

Please sign in to comment.