op_regex.cpp File Reference

#include <cerrno>
#include <iostream>
#include <fstream>
#include "string_manip.h"
#include "op_regex.h"
Include dependency graph for op_regex.cpp:

Go to the source code of this file.

Functions

void setup_regex (regular_expression_replace &regex, string const &filename)

Detailed Description

This file contains implementation for a lightweight wrapper around libc regex, providing regular expression match and replace facility.

Remarks:
Copyright 2003 OProfile authors
Read the file COPYING
Idea comes from TextFilt project <http://textfilt.sourceforge.net>
Author:
Philippe Elie

Definition in file op_regex.cpp.


Function Documentation

void setup_regex ( regular_expression_replace regex,
string const &  filename 
)

Definition at line 255 of file op_regex.cpp.

References regular_expression_replace::add_definition(), regular_expression_replace::add_pattern(), regular_expression_replace::execute(), and trim().

Referenced by demangle_symbol(), and do_test().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1