{
  "_id": "6a108325acfb0bcc41caf0dd",
  "Type": "Package",
  "Package": "rex",
  "Title": "Friendly Regular Expressions",
  "Version": "1.2.1.9000",
  "Authors@R": "c(\nperson(\"Kevin\", \"Ushey\", , \"kevinushey@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Jim\", \"Hester\", , \"james.f.hester@gmail.com\", role = \"aut\"),\nperson(\"Robert\", \"Krzyzanowski\", , \"rkrzyzanowski@gmail.com\", role = \"aut\")\n)",
  "Description": "A friendly interface for the construction of regular\nexpressions.",
  "License": "MIT + file LICENSE",
  "URL": "https://rex.r-lib.org, https://github.com/r-lib/rex",
  "BugReports": "https://github.com/r-lib/rex/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.1.2",
  "Collate": "'aaa.R' 'utils.R' 'escape.R' 'capture.R' 'character_class.R'\n'counts.R' 'lookarounds.R' 'match.R' 'or.R' 'rex-mode.R'\n'rex.R' 'shortcuts.R' 'wildcards.R' 'zzz.R'",
  "Config/Needs/website": "r-lib/pkgdown, tidyverse/tidytemplate",
  "Repository": "https://r-lib.r-universe.dev",
  "Date/Publication": "2024-03-12 22:38:52 UTC",
  "RemoteUrl": "https://github.com/r-lib/rex",
  "RemoteRef": "HEAD",
  "RemoteSha": "7a8fb36a29919c3d447cc823c672af9b5cf1fd68",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-06 05:17:28 UTC",
    "User": "root"
  },
  "Author": "Kevin Ushey [aut, cre],\nJim Hester [aut],\nRobert Krzyzanowski [aut]",
  "Maintainer": "Kevin Ushey <kevinushey@gmail.com>",
  "MD5sum": "4ff4c8b3d483db0a9bd9c5a71e1c169d",
  "_user": "r-lib",
  "_type": "src",
  "_file": "rex_1.2.1.9000.tar.gz",
  "_fileid": "adf7c39a6cc59a685b8a69b6f7621c8f9ea088349149c02da1111c2da3ac50ef",
  "_filesize": 241871,
  "_sha256": "adf7c39a6cc59a685b8a69b6f7621c8f9ea088349149c02da1111c2da3ac50ef",
  "_created": "2026-05-06T05:17:28.000Z",
  "_published": "2026-05-22T16:24:05.559Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77420052116,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6823174875"
    },
    {
      "job": 77420052139,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6823174742"
    },
    {
      "job": 77420052407,
      "time": 92,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6823167626"
    },
    {
      "job": 77420052308,
      "time": 98,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6823168535"
    },
    {
      "job": 77420051645,
      "time": 170,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6823149971"
    },
    {
      "job": 77420051412,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7165368314"
    },
    {
      "job": 77420052069,
      "time": 142,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6823176478"
    },
    {
      "job": 77420052220,
      "time": 96,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6823168063"
    },
    {
      "job": 77420051731,
      "time": 75,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6823164315"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-lib/actions/runs/25417766892",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/r-lib/rex",
  "_commit": {
    "id": "7a8fb36a29919c3d447cc823c672af9b5cf1fd68",
    "author": "Kevin Ushey <kevinushey@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #92 from TimTaylor/preserve-seed\n\nPreserve state of random number generator",
    "time": 1710283132
  },
  "_maintainer": {
    "name": "Kevin Ushey",
    "email": "kevinushey@gmail.com",
    "login": "kevinushey",
    "uuid": 1976582
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "Hmisc",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "rvest",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "r-lib",
  "_selfowned": true,
  "_usedby": 74,
  "_updates": [],
  "_tags": [],
  "_stars": 335,
  "_contributors": [
    {
      "user": "jimhester",
      "count": 182,
      "uuid": 205275
    },
    {
      "user": "kevinushey",
      "count": 23,
      "uuid": 1976582
    },
    {
      "user": "robertzk",
      "count": 10,
      "uuid": 1638492
    },
    {
      "user": "hadley",
      "count": 8,
      "uuid": 4196
    },
    {
      "user": "michaelchirico",
      "count": 6,
      "uuid": 7606389
    },
    {
      "user": "ironholds",
      "count": 2,
      "uuid": 2487262
    },
    {
      "user": "darwinawardwinner",
      "count": 2,
      "uuid": 228145
    },
    {
      "user": "jackwasey",
      "count": 1,
      "uuid": 7832270
    },
    {
      "user": "salim-b",
      "count": 1,
      "uuid": 20040931
    },
    {
      "user": "timtaylor",
      "count": 1,
      "uuid": 43499035
    },
    {
      "user": "yutannihilation",
      "count": 1,
      "uuid": 1978793
    }
  ],
  "_userbio": {
    "uuid": 22618716,
    "type": "organization",
    "name": "R infrastructure"
  },
  "_downloads": {
    "count": 230772,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rex"
  },
  "_mentions": 4,
  "_devurl": "https://github.com/r-lib/rex",
  "_pkgdown": "https://rex.r-lib.org",
  "_searchresults": 189,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rex.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/r-lib/rex",
  "_realowner": "r-lib",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2014-10-13"
    },
    {
      "version": "0.1.1",
      "date": "2014-10-20"
    },
    {
      "version": "0.1.2",
      "date": "2014-10-31"
    },
    {
      "version": "0.2.0",
      "date": "2014-11-26"
    },
    {
      "version": "1.0.1",
      "date": "2015-04-27"
    },
    {
      "version": "1.1.1",
      "date": "2016-03-10"
    },
    {
      "version": "1.1.2",
      "date": "2017-10-19"
    },
    {
      "version": "1.2.0",
      "date": "2020-04-21"
    },
    {
      "version": "1.2.1",
      "date": "2021-11-26"
    },
    {
      "version": "1.2.2",
      "date": "2026-03-28"
    }
  ],
  "_exports": [
    "as.regex",
    "character_class",
    "character_class_escape",
    "escape",
    "m",
    "matches",
    "re_matches",
    "re_substitutes",
    "regex",
    "register_shortcuts",
    "rex",
    "rex_",
    "rex_mode",
    "s",
    "shortcuts",
    "substitutes"
  ],
  "_help": [
    {
      "page": "or",
      "title": "Or",
      "concept": [
        "rex"
      ],
      "topics": [
        "%or%",
        "or"
      ]
    },
    {
      "page": "regex",
      "title": "Regular Expression",
      "topics": [
        "as.character.regex",
        "print.regex",
        "regex"
      ]
    },
    {
      "page": "as.regex",
      "title": "Coerce objects to a 'regex'.",
      "topics": [
        "as.regex",
        "as.regex.default"
      ]
    },
    {
      "page": "capture",
      "title": "Create a capture group",
      "concept": [
        "rex"
      ],
      "topics": [
        ".",
        "capture",
        "capture_group"
      ]
    },
    {
      "page": "character_class",
      "title": "Create character classes",
      "concept": [
        "rex"
      ],
      "topics": [
        ":",
        "any_of",
        "character_class",
        "except",
        "except_any_of",
        "except_some_of",
        "exclude_range",
        "none_of",
        "one_of",
        "range",
        "some_of"
      ]
    },
    {
      "page": "character_class_escape",
      "title": "Character class escapes",
      "topics": [
        "character_class_escape",
        "character_class_escape.character",
        "character_class_escape.character_class",
        "character_class_escape.default",
        "character_class_escape.list",
        "character_class_escape.regex"
      ]
    },
    {
      "page": "counts",
      "title": "Counts",
      "concept": [
        "rex"
      ],
      "topics": [
        "at_least",
        "at_most",
        "between",
        "counts",
        "n",
        "n_times"
      ]
    },
    {
      "page": "escape",
      "title": "Escape characters for a regex",
      "topics": [
        "escape",
        "escape.character",
        "escape.character_class",
        "escape.default",
        "escape.list",
        "escape.regex"
      ]
    },
    {
      "page": "group",
      "title": "Create a grouped expression",
      "concept": [
        "rex"
      ],
      "topics": [
        "group"
      ]
    },
    {
      "page": "lookarounds",
      "title": "Lookarounds",
      "concept": [
        "rex"
      ],
      "topics": [
        "%if_next_is%",
        "%if_next_isnt%",
        "%if_prev_is%",
        "%if_prev_isnt%",
        "lookarounds"
      ]
    },
    {
      "page": "not",
      "title": "Do not match",
      "concept": [
        "rex"
      ],
      "topics": [
        "not"
      ]
    },
    {
      "page": "re_matches",
      "title": "Match function",
      "topics": [
        "m",
        "matches",
        "re_matches"
      ]
    },
    {
      "page": "re_substitutes",
      "title": "Substitute regular expressions in a string with another string.",
      "topics": [
        "re_substitutes",
        "s",
        "substitutes"
      ]
    },
    {
      "page": "register_shortcuts",
      "title": "Register the Rex shortcuts",
      "topics": [
        "register_shortcuts"
      ]
    },
    {
      "page": "rex",
      "title": "Generate a regular expression.",
      "concept": [
        "rex"
      ],
      "topics": [
        "rex",
        "rex_"
      ]
    },
    {
      "page": "rex_mode",
      "title": "Toggles 'rex' mode.",
      "topics": [
        "rex_mode"
      ]
    },
    {
      "page": "shortcuts",
      "title": "Shortcuts",
      "concept": [
        "rex"
      ],
      "topics": [
        "shortcuts"
      ]
    },
    {
      "page": "single_shortcuts",
      "title": "Single shortcuts",
      "topics": [
        "single_shortcuts"
      ]
    },
    {
      "page": "wildcards",
      "title": "Wildcards",
      "concept": [
        "rex"
      ],
      "topics": [
        "maybe",
        "one_or_more",
        "wildcards",
        "zero_or_more",
        "zero_or_one"
      ]
    }
  ],
  "_readme": "https://github.com/r-lib/rex/raw/HEAD/README.md",
  "_rundeps": [
    "withr"
  ],
  "_vignettes": [
    {
      "source": "log_parsing.Rmd",
      "filename": "log_parsing.html",
      "title": "Server Log Parsing",
      "author": "Jim Hester",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2014-10-08 17:11:38",
      "modified": "2021-11-24 20:47:57",
      "commits": 15
    },
    {
      "source": "url_parsing.Rmd",
      "filename": "url_parsing.html",
      "title": "URL Validation",
      "author": "Jim Hester",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2014-09-24 16:08:00",
      "modified": "2020-04-21 14:14:11",
      "commits": 12
    }
  ],
  "_score": 14.113102690904032,
  "_indexed": true,
  "_nocasepkg": "rex",
  "_universes": [
    "r-lib",
    "kevinushey"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1.9000",
      "date": "2026-05-06T05:19:42.000Z",
      "distro": "noble",
      "commit": "7a8fb36a29919c3d447cc823c672af9b5cf1fd68",
      "fileid": "df4d79d6ed5203cdd09327d3785fa46326cb31c42e67f4fae9e7de0803d236de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25417766892"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.1.9000",
      "date": "2026-05-06T05:19:42.000Z",
      "distro": "noble",
      "commit": "7a8fb36a29919c3d447cc823c672af9b5cf1fd68",
      "fileid": "9410612ca99b4fb0914fddc2febb2031a60c33bf69b30af6ba5c2d2a6ae6d0d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25417766892"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1.9000",
      "date": "2026-05-06T05:19:03.000Z",
      "commit": "7a8fb36a29919c3d447cc823c672af9b5cf1fd68",
      "fileid": "ffd5e12e160d004674f9c27540dbef8d18bccfccc3f1f2814ce28e155defce16",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25417766892"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.1.9000",
      "date": "2026-05-06T05:19:07.000Z",
      "commit": "7a8fb36a29919c3d447cc823c672af9b5cf1fd68",
      "fileid": "c71a6cfdfc438ada621c4bd7b520f7c4047dfbfbd718ee2b47e00b46e9186482",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25417766892"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-05-06T05:19:41.000Z",
      "commit": "7a8fb36a29919c3d447cc823c672af9b5cf1fd68",
      "fileid": "72be0245731246d3a0279b90b8be467feaf37f80771d049e9ba0025734204da1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25417766892"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-05-06T05:19:00.000Z",
      "commit": "7a8fb36a29919c3d447cc823c672af9b5cf1fd68",
      "fileid": "687b89e8df42a0bcf642f54c68aa192d5b80b59453a5a72eb831f9d80ac0aa73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25417766892"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-05-06T05:18:41.000Z",
      "commit": "7a8fb36a29919c3d447cc823c672af9b5cf1fd68",
      "fileid": "6adc1686f6656c9fc5bef36247b8e539d505b1fd7e5daa6051340db08359c329",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25417766892"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1.9000",
      "date": "2026-05-22T16:23:45.000Z",
      "commit": "7a8fb36a29919c3d447cc823c672af9b5cf1fd68",
      "fileid": "f1cb295a45037ede77945c89d59ac0f9c1b296958b93cb1013b94e593de5d280",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25417766892"
    }
  ]
}