find_questions: Get question numbers for any questions matching a regular...

Description Usage Arguments Value Examples

Description

Get question numbers for any questions matching a regular expression

Usage

1

Arguments

regex

The regular expression to look for in the lesson. This gets passed along to stringr::str_detect, so the same rules apply. See str_detect.

Value

A vector of integers representing question numbers.

Examples

1
2
3
4
5
6
## Not run: 
set_lesson()
find_questions("plot")
find_questions("which")

## End(Not run)

swirlify documentation built on May 28, 2019, 9:02 a.m.