1 // $Id: TabPattern.java,v 1.1 2004/02/12 22:30:14 powerpete Exp $
2 // [JMP, 12.02.2004] Created this file.
3 package org.jface.stepmt.core.patterns;
4
5 import org.jface.stepmt.core.Interval;
6
7 /***
8 * @author <a href="mailto:powerpete@users.sf.net">M. Petersen</a>
9 * @version $Id: TabPattern.java,v 1.1 2004/02/12 22:30:14 powerpete Exp $
10 */
11 public class TabPattern extends AbstractPattern
12 {
13 public Interval match(String str, int index)
14 {
15 if (super.checkBounds(str, index) && str.charAt(index) == '\t')
16 {
17 return new Interval(index, 1);
18 }
19 return null;
20 }
21 }
This page was automatically generated by Maven