CRAN
qdapRegex 0.7.2
Regular Expression Removal, Extraction, and Replacement Tools
Released Apr 9, 2017 by Tyler Rinker
Dependencies
A collection of regular expression tools associated with the 'qdap' package that may be useful outside of the context of discourse analysis. Tools include removal/extraction/replacement of abbreviations, dates, dollar amounts, email addresses, hash tags, numbers, percentages, citations, person tags, phone numbers, times, and zip codes.
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>qdapRegex</artifactId> <version>0.7.2-b21</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:qdapRegex')
Test Results
This package was last tested against Renjin 0.9.2687 on Aug 24, 2018.
- Checking_S.S_gives_error
- Checking_S.S_is_replacing_%s_E1
- Checking_S.S_is_replacing_%s_E2
- Checking_S.S_is_replacing_%s_and_recycling_E1
- Checking_S.S_is_replacing_%s_and_recycling_E2
- Checking_as_number.as_number2_converts_to_a_number_vector
- Checking_as_number.as_number_converts_to_a_number_list
- Checking_bind.bind_adds_boundaries_on_either_end
- Checking_bind_or.bind_or_binds_and_`or`_concatenate_elements_E1
- Checking_bind_or.bind_or_binds_and_`or`_concatenate_elements_E2
- Checking_c_extracted.c_extracted_unlists
- Checking_case.TC_makes_title_case_E1
- Checking_case.TC_makes_title_case_E2
- Checking_case.TC_makes_title_case_E3
- Checking_cheat.cheat_prints_as_expected
- Checking_cheat.cheat_returns_as_expected
- Checking_escape.escape_does_not_parse_these_strings_E1
- Checking_escape.escape_does_not_parse_these_strings_E2
- Checking_escape.escape_does_not_parse_these_strings_E3
- Checking_escape.escape_produces_a_class_of_`escape`
- Checking_grab.grab_gets_strings_E1
- Checking_grab.grab_gets_strings_E2
- Checking_grab.grab_gets_strings_E3
- Checking_grab.grab_gets_strings_E4
- Checking_group.group_adds_boundaries_on_either_end
- Checking_group_or.group_or_groups_and_`or`_concatenate_elements_E1
- Checking_group_or.group_or_groups_and_`or`_concatenate_elements_E2
- Checking_hijack.hijack_is_replacing_hijacks_E1
- Checking_hijack.hijack_is_replacing_hijacks_E2
- Checking_is_regex.is_regex_correctly_tests_regular_expression_strings__E1
- Checking_is_regex.is_regex_correctly_tests_regular_expression_strings__E2
- Checking_pastex.pastex_gets_strings_and_pastes_together_E1
- Checking_pastex.pastex_gets_strings_and_pastes_together_E2
- Checking_pastex.pastex_gets_strings_and_pastes_together_E3
- Checking_pastex.pastex_gets_strings_and_pastes_together_E4
- Checking_pastex.pastex_gets_strings_and_pastes_together_E5
- Checking_rm_abbreviation.rm_abbreviation_is_extracting_'all_abbreviation'_strings
- Checking_rm_abbreviation.rm_abbreviation_is_removing_'all_abbreviation'_strings
- Checking_rm_between.rm_between_can_use_regexes_when_fixed_=_FALSE_E1
- Checking_rm_between.rm_between_can_use_regexes_when_fixed_=_FALSE_E2
- Checking_rm_between.rm_between_is_extracting_between_double_quotes
- Checking_rm_between.rm_between_is_extracting_between_single_quotes
- Checking_rm_between.rm_between_is_extracting_betweened_text_multiple_markers_E1
- Checking_rm_between.rm_between_is_extracting_betweened_text_multiple_markers_E2
- Checking_rm_between.rm_between_is_removing_and_extracting_betweened_text_single_markers_E1
- Checking_rm_between.rm_between_is_removing_and_extracting_betweened_text_single_markers_E2
- Checking_rm_between.rm_between_is_removing_betweened_text_multiple_markers_E1
- Checking_rm_between.rm_between_is_removing_betweened_text_multiple_markers_E2
- Checking_rm_between_multiple.rm_between_multiple_can_use_regexes_when_fixed_=_FALSE_E1
- Checking_rm_between_multiple.rm_between_multiple_can_use_regexes_when_fixed_=_FALSE_E2
- Checking_rm_between_multiple.rm_between_multiple_is_removing_and_extracting_betweened_text_single_markers
- Checking_rm_between_multiple.rm_between_multiple_is_removing_betweened_text_multiple_markers_E1
- Checking_rm_between_multiple.rm_between_multiple_is_removing_betweened_text_multiple_markers_E2
- Checking_rm_bracket.rm_angle_is_removeing/extracting_bracketed_text_E1
- Checking_rm_bracket.rm_angle_is_removeing/extracting_bracketed_text_E2
- Checking_rm_bracket.rm_bracket_is_extracting_bracketed_text_E1
- Checking_rm_bracket.rm_bracket_is_extracting_bracketed_text_E2
- Checking_rm_bracket.rm_bracket_is_extracting_bracketed_text_E3
- Checking_rm_bracket.rm_bracket_is_extracting_bracketed_text_E4
- Checking_rm_bracket.rm_bracket_is_extracting_bracketed_text_E5
- Checking_rm_bracket.rm_bracket_is_extracting_bracketed_text_E6
- Checking_rm_bracket.rm_bracket_is_removing_bracketed_text_E1
- Checking_rm_bracket.rm_bracket_is_removing_bracketed_text_E2
- Checking_rm_bracket.rm_bracket_is_removing_bracketed_text_E3
- Checking_rm_bracket.rm_bracket_is_removing_bracketed_text_E4
- Checking_rm_bracket.rm_curly_is_removeing/extracting_bracketed_text_E1
- Checking_rm_bracket.rm_curly_is_removeing/extracting_bracketed_text_E2
- Checking_rm_bracket.rm_round_is_removeing/extracting_bracketed_text_E1
- Checking_rm_bracket.rm_round_is_removeing/extracting_bracketed_text_E2
- Checking_rm_bracket.rm_square_is_removeing/extracting_bracketed_text_E1
- Checking_rm_bracket.rm_square_is_removeing/extracting_bracketed_text_E2
- Checking_rm_bracket_multiple.rm_bracket_multiple_is_removing_bracketed_text_E1
- Checking_rm_bracket_multiple.rm_bracket_multiple_is_removing_bracketed_text_E2
- Checking_rm_bracket_multiple.rm_bracket_multiple_is_removing_bracketed_text_E3
- Checking_rm_bracket_multiple.rm_bracket_multiple_is_removing_bracketed_text_E4
- Checking_rm_caps.rm_caps_is_extracting_'all_caps'_strings
- Checking_rm_caps.rm_caps_is_removing_'all_caps'_strings_E1
- Checking_rm_caps.rm_caps_is_removing_'all_caps'_strings_E2
- Checking_rm_caps_phrase.rm_caps_phrase_is_extracting_'all_caps'_strings
- Checking_rm_caps_phrase.rm_caps_phrase_is_removing_'all_caps'_strings
- Checking_rm_citation.rm_citation_is_extracting_citation_strings
- Checking_rm_citation.rm_citation_is_removing_citation_strings
- Checking_rm_citation_tex.rm_citation_tex_is_extracting_citation_strings
- Checking_rm_city_state.rm_city_state_is_extracting_city_state_strings
- Checking_rm_city_state.rm_city_state_is_removing_city_state_strings
- Checking_rm_city_state_zip.rm_city_state_zip_is_extracting_city_state_zip_strings
- Checking_rm_date.rm_date_is_extracting_date_strings
- Checking_rm_date.rm_date_is_removing_date_strings
- Checking_rm_dollar.rm_dollar_is_extracting_dollar_strings
- Checking_rm_dollar.rm_dollar_is_removing_dollar_strings
- Checking_rm_email.rm_email_is_extracting_email_strings
- Checking_rm_email.rm_email_is_removing/replacing_email_strings_E1
- Checking_rm_email.rm_email_is_removing/replacing_email_strings_E2
- Checking_rm_emoticon.rm_emoticon_is_extracting_emoticon_strings
- Checking_rm_emoticon.rm_emoticon_is_removing/replacing_emoticon_strings
- Checking_rm_endmark.rm_endmark_is_extracting_emoticon_strings
- Checking_rm_endmark.rm_endmark_is_removing/replacing_emoticon_strings
- Checking_rm_hash.rm_hash_is_extracting_hash_strings
- Checking_rm_nchar_words.rm_nchar_words_is_extracting_nchar_words_strings
- Checking_rm_non_words.rm_non_words_is_extracting_tag_strings
- Checking_rm_non_words.rm_non_words_is_removing_non-words
- Checking_rm_number.rm_number_is_extracting_'all_number'_strings
- Checking_rm_percent.rm_percent_is_extracting_percent_strings
- Checking_rm_percent.rm_percent_is_removing/replacing_percent_strings
- Checking_rm_phone.rm_phone_is_extracting_phone_strings
- Checking_rm_phone.rm_phone_is_removing/replacing_phone_strings
- Checking_rm_postal_code.rm_postal_code_is_extracting_postal_code_strings
- Checking_rm_postal_code.rm_postal_code_is_removing_postal_code_strings
- Checking_rm_repeated_characters.rm_repeated_characters_is_extracting_repeated_character_strings
- Checking_rm_repeated_characters.rm_repeated_characters_is_removing/replacing_character_strings
- Checking_rm_repeated_phrases.rm_repeated_phrases_is_extracting_repeated_phrases_strings
- Checking_rm_repeated_words.rm_repeated_words_is_extracting_repeated_word_strings
- Checking_rm_tag.rm_tag_is_extracting_tag_strings
- Checking_rm_time.rm_time_is_extracting_time_strings
- Checking_rm_time.rm_time_is_removing/replacing_time_strings
- Checking_rm_time.rm_transcript_time_is_extracting_time_strings
- Checking_rm_time.rm_transcript_time_is_removing/replacing_time_strings
- Checking_rm_title_name.rm_title_name_is_extracting_date_strings
- Checking_rm_title_name.rm_title_name_is_removing_date_strings
- Checking_rm_url.rm_url_is_extracting_url_strings
- Checking_rm_url.rm_url_is_removing/replacing_url_strings_E1
- Checking_rm_url.rm_url_is_removing/replacing_url_strings_E2
- Checking_rm_zip.rm_zip_is_extracting_zip_strings
- Checking_rmz_.ex__is_making_a_function,_and_operating_as_expected_E1
- Checking_rmz_.ex__is_making_a_function,_and_operating_as_expected_E2
- Checking_rmz_.ex__is_making_a_function,_and_operating_as_expected_E3
- Checking_rmz_.ex__is_making_a_function,_and_operating_as_expected_E4
- Checking_rmz_.rm__is_making_a_function,_and_operating_as_expected_E1
- Checking_rmz_.rm__is_making_a_function,_and_operating_as_expected_E2
- Checking_rmz_.rm__is_making_a_function,_and_operating_as_expected_E3
- Checking_rmz_.rm__is_making_a_function,_and_operating_as_expected_E4
- S-examples
- bind-examples
- bind_or-examples
- case-examples
- cheat-examples
- escape-examples
- grab-examples
- group-examples
- group_or-examples
- is.regex-examples
- pastex-examples
- rm_-examples
- rm_abbreviation-examples
- rm_between-examples
- rm_bracket-examples
- rm_caps-examples
- rm_caps_phrase-examples
- rm_citation-examples
- rm_citation_tex-examples
- rm_city_state-examples
- rm_city_state_zip-examples
- rm_date-examples
- rm_default-examples
- rm_email-examples
- rm_emoticon-examples
- rm_endmark-examples
- rm_non_words-examples
- rm_number-examples
- rm_percent-examples
- rm_postal_code-examples
- rm_repeated_words-examples
- rm_tag-examples
- rm_title_name-examples
- rm_url-examples
- testthat
- validate-examples