Learn R Programming

searchable (version 0.3.3.1)

boundary: Define boundary for pattern matching

Description

Sets boundary type matching

Usage

boundary(object, type = c("partial", "full", "word", "sentence", "line",
  "starts_with", "ends_with"))

full(object)

partial(object)

word(object)

sentence(object)

startswith(object)

endsqwith(object)

Arguments

object
target or pattern for search
type
character; one of parial (default), full, word, sentence, line, starts_with, ends_with

Sets the options for matching at specified boundaries.

Boundaries may also be supplied to by pattern types; regex, fixed, coll, ,,, When declar

See Also

# -tk

Examples

Run this code
# -tk

Run the code above in your browser using DataLab