Changeset 1101


Ignore:
Timestamp:
Jun 24, 2011, 6:52:19 PM (6 years ago)
Author:
stefan
Message:

fixed bug #174: exception when using ColumnRealigner?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/jlatexeditor/addon/EnvironmentUtils.java

    r976 r1101  
    2020  enum State {needSearch, searched, finished}
    2121
    22   private static final Pattern envPattern = Pattern.compile("\\\\(begin|end)\\{(\\w+)\\}");
     22  private static final Pattern envPattern = Pattern.compile("\\\\(begin|end)\\{([^}]+)\\}");
    2323
    2424  public static Iterator<WordWithPos> getOpenEnvIterator(SCEPane pane) {
Note: See TracChangeset for help on using the changeset viewer.