to_parsed_case_internal {snakecase}R Documentation

Internal parser, which is relevant for preprocessing, parsing and parsing options

Description

Internal parser, which is relevant for preprocessing, parsing and parsing options

Usage

to_parsed_case_internal(string, parsing_option = 1L)

Arguments

string

A string.

parsing_option

An integer that will determine the parsing option.

  • 1: RRRStudio -> RRR_Studio

  • 2: RRRStudio -> RRRS_tudio

  • 3: parses like option 1 but suppresses "_" around non alpha-numeric characters. In this way this option suppresses splits and resulting case conversion after these characters.

  • 4: parses like option 1, but digits directly behind/in front non-digits, will stay as is.

  • any other integer <= 0: no parsing"

Value

A character vector separated by underscores, containing the parsed string.

Author(s)

Malte Grosser, malte.grosser@gmail.com


[Package snakecase version 0.9.1 Index]