Closed moodymudskipper closed 4 years ago
It wouldn't be surprising
{a}
{a=.*?}
{}
{=.*?}
And implementation should be quite simple.
s1 <- read.table(text="sample Br_LV_0040324_BC1_1 Br_LV_0040324_BC1_2 Br_LV_0040324_BC1_3 Br_LV_0040324_BC1_4 Br_LV_0040324_LBR_1 Br_LV_0040324_LBR_2", header = T, stringsAsFactor=F) unglue_unnest(s1, sample, "{=.*?}_{=.*?}_{=.*?}_{index}_{=.*?}", remove = FALSE)
done (seemed like it worked already!)
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
It wouldn't be surprising
{a}
is the same as{a=.*?}
{}
would be the same as{=.*?}
And implementation should be quite simple.