FlightAware Discussions

What Regular Expressions are available to `match`

The documentation talks about “wildcard patterns” but I haven’t found any documentation outlining what this means, and specifically whether more powerful regular expressions are available.

I’d like to use SearchBirdseyeInFlight to get all international flights to/from Australia (all aerodrome codes start with “Y”), and my thinking is that I want to use two queries: {match orig Y*}{match dest [^Y]*} for outbound flights and {match orig [^Y]*}{match dest Y*} for inbound flights.

Any advice?

Oh never mind, I just discovered notmatch :grinning_face_with_smiling_eyes:

Hmmm, sometimes the origin does not contain the aerodrome code, but rather the coordinates of the first detection, in which case my match will not pick up that flight if it is outbound.

…and there is an issue where U.S. aerodromes do not have “K” prepended, so “Y19” matches my search when it really shouldn’t because it should be recorded as “KY19”.

Hello,

Could you give an example of a query that this is happening for and what you are getting as a response back?

Taylor Fischer
Support Specialist

Toll Free: +1.800.713.8570
Support Line:+1.713.588.6514

Eleven Greenway Plaza, Suite 2900 - Houston, Texas - 70046
FlightAware


Learn about FlightAware Global and Premium Accounts: http://flightaware.com/commercial/