Learn R Programming

ruler (version 0.3.0)

inside_punct: Inside punctuation regular expression

Description

Function to construct regular expression of form: 'non alpha-numeric characters' + 'some characters' + 'non alpha-numeric characters'.

Usage

inside_punct(.x = "\\._\\.")

Arguments

.x

Middle characters to be put between non alpha-numeric characters.

Examples

Run this code
inside_punct()

inside_punct("abc")

Run the code above in your browser using DataLab