/*
 * Created on 2003/07/01
 *
 * To change the template for this generated file go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
package org.j69.eewiki.wiki.tag;

import org.apache.oro.text.perl.Perl5Util;
import org.j69.eewiki.wiki.transformer.DataTag;

/**
 * @author hnishimura
 *
 * To change the template for this generated type comment go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
public class DelDataTag implements DataTag {

	/* (non-Javadoc)
	 * @see org.j69.eewiki.wiki.transformer.DataTag#get(java.lang.String)
	 */
	public String get(String pageData) {
		Perl5Util perl = new Perl5Util();
		return perl.substitute("s!%%([^']*)%%!<del>$1</del>!g", pageData);
	}

}
