Expressions { public static boolean hasExpression(String text) { Matcher matcher = expressionPattern.matcher(text); return matcher.find(); }  static String getFirstExpression(String text); static boolean hasExpression(String text); static int getExpressionCount(String text); static String extractNameFromRepeater(String repeaterExpression); static String extractExactRepeater(String repeaterExpression); static String extractNameFromNgFor(String ngForExpression); static String replaceIndexBindingWithFunctionParameter(String text,
			int repeaterCount); static String extractControllerAs(String controllerExpression);  }
@Test public void detectsExpressions() throws Exception { assertThat(hasExpression("{{expression}}")).isTrue(); assertThat(hasExpression("With {{expression}} text")).isTrue(); assertThat(hasExpression("Multiple {{expression}} {{expression2}}")) .isTrue(); assertThat(hasExpression("{{expression}}{{expression2}}")).isTrue(); assertThat(hasExpression("No expression")).isFalse(); }