Using MATLAB Regular Expressions to Find Patterns of URLs on Our Website
(Originally posted on Stuart's MATLAB Videos blog.)
I want to count the number of different types of pages on our website (e.g. file exchange posts, videos, MATLAB Answers). Now, I can easily get these numbers from our internal systems but I want to determine them by looking at the website. This will let me create tests that verify there has not been a problem in the publishing of content.
I already use a utility that crawls part of our website and tells me the URLs of the approximately 300,000 pages it crawls. I just need to analyze this list and look for patterns. Here is a video of me (using the code-along style) trying to work through this problem.
Remember, videos in this style are unedited real-time development. This one is also long, so feel free to skip around to parts that interest you. There is a table of contents containing a small number of chapter points.
I make multiple mistakes and incorrect assumptions as I go along. See if you can notice them before I do.
Recorded: 23 Feb 2016
Featured Product
MATLAB
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asie-Pacifique
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)