Define boundary for pattern matching

Share:

Description

Sets boundary type matching

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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 declared explicitly, these take precedent.

Except when the boundad

See Also

# -tk

Examples

1
# -tk