(class|styleClass)=\"[^\"]+\"
It means find a string with the following properties:
- Starts with a space character (granted, this may not catch all cases, but you can tweak it).
- Then look for "class" or "styleClass", which is a way to declare it in JSF
- Now an "=" and double quotes
- Followed by anything except double quotes (this keeps it from including the subsequent attributes in the find)
- Ends in double quotes
No comments:
Post a Comment