https://github.com/lmrodriguezr/nonpareil
Revision 2ab34b9c1f22d019010f5849a0afdd6d0c6a7a17 authored by Berenice Batut on 14 November 2017, 14:38:15 UTC, committed by Berenice Batut on 14 November 2017, 14:38:15 UTC
1 parent 78011b5
Raw File
Tip revision: 2ab34b9c1f22d019010f5849a0afdd6d0c6a7a17 authored by Berenice Batut on 14 November 2017, 14:38:15 UTC
Add installation info for conda and biocontainer
Tip revision: 2ab34b9
regex.h
// enveomics/regex.h - Regular Expressions for enve-omics software
// @author Luis M. Rodriguez-R <lmrodriguezr at gmail dot com>
// @license artistic 2.0
// @version 1.0

#ifndef ENVEOMICS_REGEX_H
#define ENVEOMICS_REGEX_H

#include <regex.h>

using namespace std;

// The rreplace() function from: http://www.daniweb.com/software-development/c/code/216955
int rreplace (char *buf, int size, regex_t *re, char *rp);

// The str_replace() function from: http://www.zedwood.com/article/105/cpp-strreplace-function
string& str_replace(const string &search, const string &replace, string &subject);

#endif

back to top