Question: If you see the google maps app(the out of box app) and say you search for something like 'food', you will wither see a couple of markers as parker pins or as dots. When you tap on a dot, the dot animates and becomes a full marker pin(you can see the marker scaling up.
I was wondering if we can do the same using goole maps for android v2.

Any tips would be helpful.

ps: my current idea is to use an interpolator and replace the marker icon using setIcon couple of time, but seriously, if Google has already done it then we should be able to do it.

thanks

Answer: 
Not sure I well understand your needs, but is that OK for you:

```
if (preg_match('/^(true|false|TRUE|FALSE)$/', $string, $match)) {
    echo "Found : ",$m[1],"\n";
} else {
    echo "Not found\n";
}

```
Is this what you want?

(?=.)(true|false|TRUE|FALSE|\s\*)(?!.)

![Regular expression visualization](https://www.debuggex.com/i/8oX3ibPh6h4SQjKq.png)

[Debuggex Demo](https://www.debuggex.com/r/8oX3ibPh6h4SQjKq)

```
$regex = '/(?=.)(true|false|TRUE|FALSE|\\s{0,})(?!.)/';
$testString = ''; // Fill this in
preg_match($regex, $testString, $matches);
// the $matches variable contains the list of matches

```