Skip to content
#

regular-expression

Here are 818 public repositories matching this topic...

mriffey
mriffey commented Sep 6, 2018

Recently I was working with another dev on some performance issues. At one point, i took the dbv++ output, pasted it into a blank email (to get the spacing formatted), then took that and pasted it into Excel. I then added a column for Elapsed time (this step) and added a formula to calculate for each line how much time had elapsed since the last log entry. A simple process, but kind of cumbersome.

gorkang
gorkang commented May 29, 2019

When hitting "Send Regex To Console" in the Output tab, the console shows something like the following:

pattern <- "\w+ " # perl=TRUE
replacement <- "NO "

Wouldn't be better to integrate the parameters into the actual function used? In this case, it could translate into:

sub(pattern = "\w+",
replacement = "NO ",
x = readr::read_file("LICENSE"),
perl

SteelPhase
SteelPhase commented Nov 26, 2019

Would it be possible to have the regex parser support character classes like \w within other character classes? I had a regex pattern earlier that used the character class [0-9a-zA-Z_\.-], and I attempted to simplify it with [\w\.\-]. I didn't notice this library doesn't support doing that, and was wondering just how difficult that would be to implement. For the time being i'm just expanding

Improve this page

Add a description, image, and links to the regular-expression topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the regular-expression topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.