Skip to content

Header-only library to help dealing with newline character sequences

License

Notifications You must be signed in to change notification settings

NeiRo21/newline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

newline

newline is a C++17 header-only library for text processing. Its main feature is support of various known as well as arbitrary newline (end of line) sequences.

Getting started:

Just include newline/newline.h to access all features.

See Features for details about accessing individual features.

Features

Feature Header
Basic definitions e.g. basic_newline template newline_defs.h
8 bit charset newline sequence constants byte_seq.h
UTF8 newline sequence constants utf8_seq.h
UTF16 newline sequence constants utf16_seq.h
UTF32 newline sequence constants utf32_seq.h
Wide char newline sequence constants wide_seq.h
Newline detector detector.hpp
getline implementation getline.hpp

Platforms

newline is designed to be cross-platform.

It has currently been tested on:

  • Linux x86_64 (GCC)
  • Windows x86_64 (MiniGW)

Requirements

  • a C++17-enabled compiler

Build requirements (unit tests)

About

Header-only library to help dealing with newline character sequences

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published